#D9C459#D9C459

#D9C459 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.129 H 98.3°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D9C459
RGBrgb(217, 196, 89)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 59%, 85%)
CMYKcmyk(0%, 9.7%, 59%, 14.9%)
CIE-LABlab(79.02, -5.49, 55.26)
CIE-LCHlch(79.02, 55.53, 95.67°)
OKLaboklab(81.72% -0.0186 0.1277)
OKLCHoklch(81.72% 0.129 98.3)
XYZxyz(50.1603, 54.9550, 17.4145)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C459 #596ED9
analogous
#D98459 #D9C459 #AED959
triadic
#D9C459 #59D9C4 #C459D9
tetradic
#D9C459 #59D984 #596ED9 #D959AE
square
#D9C459 #59D984 #596ED9 #D959AE
split-complementary
#D9C459 #59AED9 #8459D9
monochromatic
#958222 #C7AE2E #D9C459 #E4D68B #F0E7BD

Accessibility & contrast

On white

1.75
#D9C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D9C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C459
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C459#FFFFFF#000000##000000
##D9C4591.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#E9B7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c459;
/* rgb */ color: rgb(217, 196, 89);
/* oklch */ color: oklch(81.7% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#e8d58c',
    500: '#d9c459',
    950: '#000000',
  },
}
SCSS
$custom: #d9c459;
$custom-light: #e8d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c459",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 50.156,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.81724,
    "c": 0.12904,
    "h": 98.3
  },
  "luminance": 0.54953
}

Semantic roles & 50–950 ramp

primary
#D9C459
secondary
#3C4B9A
accent
#5DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C459

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

Preview Lab → · Contrast checker → · Palette generator →

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