#D9C84F#D9C84F

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

Color values

HEX#D9C84F
RGBrgb(217, 200, 79)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 64%, 85%)
CMYKcmyk(0%, 7.8%, 63.6%, 14.9%)
CIE-LABlab(79.97, -8.20, 60.69)
CIE-LCHlch(79.97, 61.24, 97.70°)
OKLaboklab(82.45% -0.0275 0.1379)
OKLCHoklch(82.45% 0.141 101.3)
XYZxyz(50.6829, 56.6269, 15.6560)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C84F #4F60D9
analogous
#D9834F #D9C84F #A5D94F
triadic
#D9C84F #4FD9C8 #C84FD9
tetradic
#D9C84F #4FD983 #4F60D9 #D94FA5
square
#D9C84F #4FD983 #4F60D9 #D94FA5
split-complementary
#D9C84F #4FA5D9 #834FD9
monochromatic
#8F811F #C1AE2A #D9C84F #E4D881 #EFE7B4

Accessibility & contrast

On white

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

On black

12.33
#D9C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C84F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C84F#FFFFFF#000000##000000
##D9C84F1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC240
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#E9BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c84f;
/* rgb */ color: rgb(217, 200, 79);
/* oklch */ color: oklch(82.5% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8d886',
    500: '#d9c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c84f;
$custom-light: #e8d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c84f",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 52.609,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82452,
    "c": 0.14061,
    "h": 101.3
  },
  "luminance": 0.56625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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