#D9C84E#D9C84E

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

Color values

HEX#D9C84E
RGBrgb(217, 200, 78)
HSLhsl(53, 65%, 58%)
HSVhsv(53, 64%, 85%)
CMYKcmyk(0%, 7.8%, 64.1%, 14.9%)
CIE-LABlab(79.96, -8.27, 61.10)
CIE-LCHlch(79.96, 61.65, 97.70°)
OKLaboklab(82.44% -0.0278 0.1386)
OKLCHoklch(82.44% 0.141 101.4)
XYZxyz(50.6468, 56.6124, 15.4657)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C84E #4E5FD9
analogous
#D9824E #D9C84E #A4D94E
triadic
#D9C84E #4ED9C8 #C84ED9
tetradic
#D9C84E #4ED982 #4E5FD9 #D94EA4
square
#D9C84E #4ED982 #4E5FD9 #D94EA4
split-complementary
#D9C84E #4EA4D9 #824ED9
monochromatic
#8E801F #C0AE29 #D9C84E #E4D880 #EFE7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C84E#FFFFFF#000000##000000
##D9C84E1.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)
#DAC23F
Deuteranopia (green-blind)
#DFC955
Tritanopia (blue-blind)
#E9BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c84e;
/* rgb */ color: rgb(217, 200, 78);
/* oklch */ color: oklch(82.4% 0.141 101.4);
Tailwind
colors: {
  custom: {
    50: '#e8d885',
    500: '#d9c84e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c84e;
$custom-light: #e8d885;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c84e",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 52.662,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82443,
    "c": 0.14138,
    "h": 101.4
  },
  "luminance": 0.5661
}

Semantic roles & 50–950 ramp

primary
#D9C84E
secondary
#384394
accent
#55E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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