#D9CD4F#D9CD4F

#D9CD4F is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.145 H 103.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D9CD4F
RGBrgb(217, 205, 79)
HSLhsl(55, 64%, 58%)
HSVhsv(55, 64%, 85%)
CMYKcmyk(0%, 5.5%, 63.6%, 14.9%)
CIE-LABlab(81.28, -10.74, 62.08)
CIE-LCHlch(81.28, 63.00, 99.82°)
OKLaboklab(83.49% -0.0348 0.1408)
OKLCHoklch(83.49% 0.145 103.9)
XYZxyz(51.8598, 58.9808, 16.0483)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD4F #4F5BD9
analogous
#D9884F #D9CD4F #A0D94F
triadic
#D9CD4F #4FD9CD #CD4FD9
tetradic
#D9CD4F #4FD988 #4F5BD9 #D94FA0
square
#D9CD4F #4FD988 #4F5BD9 #D94FA0
split-complementary
#D9CD4F #4FA0D9 #884FD9
monochromatic
#8F851F #C1B42A #D9CD4F #E4DB81 #EFEAB4

Accessibility & contrast

On white

1.64
#D9CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D9CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD4F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD4F#FFFFFF#000000##000000
##D9CD4F1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#E2CD56
Tritanopia (blue-blind)
#E8C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd4f;
/* rgb */ color: rgb(217, 205, 79);
/* oklch */ color: oklch(83.5% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8dc86',
    500: '#d9cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd4f;
$custom-light: #e8dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd4f",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 54.783,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83494,
    "c": 0.14506,
    "h": 103.9
  },
  "luminance": 0.58979
}

Semantic roles & 50–950 ramp

primary
#D9CD4F
secondary
#384094
accent
#4FE740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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