#D9C84B#D9C84B

#D9C84B is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.144 H 101.5°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D9C84B
RGBrgb(217, 200, 75)
HSLhsl(53, 65%, 57%)
HSVhsv(53, 65%, 85%)
CMYKcmyk(0%, 7.8%, 65.4%, 14.9%)
CIE-LABlab(79.94, -8.44, 62.32)
CIE-LCHlch(79.94, 62.89, 97.72°)
OKLaboklab(82.42% -0.0287 0.1407)
OKLCHoklch(82.42% 0.144 101.5)
XYZxyz(50.5416, 56.5704, 14.9122)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C84B #4B5CD9
analogous
#D9814B #D9C84B #A3D94B
triadic
#D9C84B #4BD9C8 #C84BD9
tetradic
#D9C84B #4BD981 #4B5CD9 #D94BA3
square
#D9C84B #4BD981 #4B5CD9 #D94BA3
split-complementary
#D9C84B #4BA3D9 #814BD9
monochromatic
#8C7F1E #BFAD28 #D9C84B #E4D77E #EEE7B0

Accessibility & contrast

On white

1.71
#D9C84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D9C84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C84B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C84B#FFFFFF#000000##000000
##D9C84B1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23B
Deuteranopia (green-blind)
#DFC952
Tritanopia (blue-blind)
#E9BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c84b;
/* rgb */ color: rgb(217, 200, 75);
/* oklch */ color: oklch(82.4% 0.144 101.5);
Tailwind
colors: {
  custom: {
    50: '#e8d883',
    500: '#d9c84b',
    950: '#000000',
  },
}
SCSS
$custom: #d9c84b;
$custom-light: #e8d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c84b",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 52.817,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82416,
    "c": 0.14362,
    "h": 101.5
  },
  "luminance": 0.56568
}

Semantic roles & 50–950 ramp

primary
#D9C84B
secondary
#364192
accent
#54E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C84B

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

Preview Lab → · Contrast checker → · Palette generator →

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