#D9C84D#D9C84D

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

Color values

HEX#D9C84D
RGBrgb(217, 200, 77)
HSLhsl(53, 65%, 58%)
HSVhsv(53, 65%, 85%)
CMYKcmyk(0%, 7.8%, 64.5%, 14.9%)
CIE-LABlab(79.95, -8.33, 61.51)
CIE-LCHlch(79.95, 62.07, 97.71°)
OKLaboklab(82.43% -0.0281 0.1393)
OKLCHoklch(82.43% 0.142 101.4)
XYZxyz(50.6112, 56.5982, 15.2784)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C84D #4D5ED9
analogous
#D9824D #D9C84D #A4D94D
triadic
#D9C84D #4DD9C8 #C84DD9
tetradic
#D9C84D #4DD982 #4D5ED9 #D94DA4
square
#D9C84D #4DD982 #4D5ED9 #D94DA4
split-complementary
#D9C84D #4DA4D9 #824DD9
monochromatic
#8D801E #C0AE29 #D9C84D #E4D87F #EFE7B2

Accessibility & contrast

On white

1.70
#D9C84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D9C84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C84D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C84D#FFFFFF#000000##000000
##D9C84D1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23E
Deuteranopia (green-blind)
#DFC954
Tritanopia (blue-blind)
#E9BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c84d;
/* rgb */ color: rgb(217, 200, 77);
/* oklch */ color: oklch(82.4% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#e8d884',
    500: '#d9c84d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c84d;
$custom-light: #e8d884;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c84d",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 52.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82434,
    "c": 0.14213,
    "h": 101.4
  },
  "luminance": 0.56596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C84D

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

Preview Lab → · Contrast checker → · Palette generator →

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