#D9C94E#D9C94E

#D9C94E is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.142 H 101.9°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D9C94E
RGBrgb(217, 201, 78)
HSLhsl(53, 65%, 58%)
HSVhsv(53, 64%, 85%)
CMYKcmyk(0%, 7.4%, 64.1%, 14.9%)
CIE-LABlab(80.22, -8.78, 61.38)
CIE-LCHlch(80.22, 62.00, 98.14°)
OKLaboklab(82.65% -0.0293 0.1392)
OKLCHoklch(82.65% 0.142 101.9)
XYZxyz(50.8791, 57.0771, 15.5432)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C94E #4E5ED9
analogous
#D9844E #D9C94E #A3D94E
triadic
#D9C94E #4ED9C9 #C94ED9
tetradic
#D9C94E #4ED984 #4E5ED9 #D94EA3
square
#D9C94E #4ED984 #4E5ED9 #D94EA3
split-complementary
#D9C94E #4EA3D9 #844ED9
monochromatic
#8E811F #C0AF29 #D9C94E #E4D880 #EFE8B3

Accessibility & contrast

On white

1.69
#D9C94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#D9C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C94E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C94E#FFFFFF#000000##000000
##D9C94E1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33F
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#E9BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c94e;
/* rgb */ color: rgb(217, 201, 78);
/* oklch */ color: oklch(82.7% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e8d985',
    500: '#d9c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c94e;
$custom-light: #e8d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c94e",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 53.094,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8265,
    "c": 0.14224,
    "h": 101.9
  },
  "luminance": 0.57075
}

Semantic roles & 50–950 ramp

primary
#D9C94E
secondary
#384294
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C94E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D9C94E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva