RAL Classic color

RAL 1019 Grey beige #9E9764

RAL 1019 Grey beige is shown here as #9E9764, a widely published sRGB approximation of the printed swatch. It is a light muted yellow in the brown family. In OKLCH it sits at lightness 0.670, chroma 0.070 and hue 101.4°. The nearest CSS named color is darkkhaki (#BDB76B), ΔE2000 10.3 away.

Relative luminance
0.3032
OKLCH L · C · h
0.670 · 0.070 · 101.4
Best text
Black 7.06:1
Hue family
Brown

#9E9764 color codes

HEX
#9E9764
RGB
rgb(158, 151, 100)
HSL
hsl(53, 23%, 51%)
OKLCH
oklch(0.670 0.070 101.4)
OKLab
oklab(0.670 -0.014 0.069)
CIELAB (D65)
L* 61.93, a* -5.34, b* 27.82
XYZ (D65)
X 27.47, Y 30.32, Z 16.46
CMYK (naive)
cmyk(0%, 4%, 37%, 38%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #9E9764 accessible?

Black text on it reaches 7.06:1, passing AAA. White text fails at 2.97:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    7.06:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +47
  • White text on it

    2.97:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −61
  • As text on black

    7.06:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −45
  • As text on white

    2.97:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +56

Nearest versions that pass 4.5:1

  • For text on white

    #7E7745 4.55:1

    Darkening its OKLCH lightness from 0.67 to 0.56 reaches 4.55:1 on white, keeping the hue.

  • For text on black

    #9E9764 7.06:1

    It already reaches 7.06:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #9E9764 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #9E9764

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #9E9764 sits at step 400.

  1. 50#FDF7CC
    White
    1.08
    Black
    19.35
  2. 100#F3EDC1
    White
    1.18
    Black
    17.69
  3. 200#E0D9AB
    White
    1.43
    Black
    14.68
  4. 300#C6C08F
    White
    1.85
    Black
    11.33
  5. 400This color#9E9764
    White
    2.97
    Black
    7.06
  6. 500#8F8855
    White
    3.60
    Black
    5.82
  7. 600#77703F
    White
    5.03
    Black
    4.17
  8. 700#605929
    White
    7.09
    Black
    2.95
  9. 800#474113
    White
    10.32
    Black
    2.03
  10. 900#2F2900
    White
    14.60
    Black
    1.43
  11. 950#1A1600
    White
    18.12
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #9E9764 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.140; #9E9764 uses 50% of it. Display P3, which many recent phones and laptops show, reaches 0.162 there: 16% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.070
sRGB edge
0.140
Display P3 edge
0.162
Rec. 2020 edge
0.166
Dominant wavelength
573 nm
Excitation purity
38%
Chromaticity
x 0.3699, y 0.4084
  • This color#9E9764
  • Most vivid in sRGB#A89700
  • Most vivid in Display P3oklch(0.670 0.162 101.4)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #9e9764;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6573 0.5927 0); }
}

Mixing

Mixing #9E9764

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#CFCBB2
  • OKLab50%#CDCAB0
  • OKLCH50%#CDCAB0

Black #000000

  • sRGB50%#4F4C32
  • OKLab50%#3A3722
  • OKLCH50%#3A3722

Its complement #8D91C0

  • sRGB50%#969492
  • OKLab50%#959595
  • OKLCH50%#5FA39F
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #9e9764, white);
color: color-mix(in oklch, #9e9764 50%, white);

In use

#9E9764 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:17.06:1 Passes
  • Link and body-size textText, 4.5:12.97:1 Fails
  • Large headingLarge text, 3:12.97:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.97:1 Fails

For text on this page, the nearest shade that passes is #7E7745 4.55:1

Dark page

  • Button labelText, 4.5:17.06:1 Passes
  • Link and body-size textText, 4.5:16.30:1 Passes
  • Large headingLarge text, 3:16.30:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.30:1 Passes

Color vision

How #9E9764 looks with color blindness

Tritanopia changes it most, ΔE2000 20.1; deuteranopia changes it least, 1.6.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #A09460 ΔE2000 1.9

    Very close

    Reads as light muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #A29766 ΔE2000 1.6

    Very close

    Reads as light muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #A6908A ΔE2000 20.1

    Distinct

    Reads as light grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #969696 ΔE2000 17.5

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #8D91C0. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#9E9764 · #8D91C038.8Stays distinct
Protanopia#A09460 · #8496C236.9Stays distinct
Deuteranopia#A29766 · #8193BF36.3Stays distinct
Tritanopia#A6908A · #8199A122.3Stays distinct
Achromatopsia#969696 · #9494940.7Easily confused

Harmony

Color harmonies for #9E9764

Its complement is #8D91C0, a light muted blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#9E9764
  • Complement#8D91C0

Complementary

Open in Harmony Studio
  • −30°#B18E65
  • Base#9E9764
  • +30°#869F71
  • Base#9E9764
  • +120°#629FB4
  • +240°#B484A2
  • Base#9E9764
  • +150°#7599BF
  • +210°#A389B5

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1019: #9e9764;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1019': '#9e9764',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1019: oklch(0.670 0.070 101.4);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1019": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6196, 0.5922, 0.3922],
        "hex": "#9e9764"
      },
      "$description": "RAL 1019 Grey beige (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1019 = Color(.sRGB, red: 0.620, green: 0.592, blue: 0.392, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1019 = Color(0xFF9E9764)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #9E9764 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.