#D9DC4A#D9DC4A

#D9DC4A is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.6% C 0.163 H 110.5°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#D9DC4A
RGBrgb(217, 220, 74)
HSLhsl(61, 68%, 58%)
HSVhsv(61, 66%, 86%)
CMYKcmyk(1.4%, 0%, 66.4%, 13.7%)
CIE-LABlab(85.22, -18.50, 68.14)
CIE-LCHlch(85.22, 70.61, 105.19°)
OKLaboklab(86.62% -0.0572 0.1529)
OKLCHoklch(86.62% 0.163 110.5)
XYZxyz(55.4463, 66.4340, 16.3795)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC4A #4D4ADC
analogous
#DC964A #D9DC4A #90DC4A
triadic
#D9DC4A #4AD9DC #DC4AD9
tetradic
#D9DC4A #4ADC96 #4D4ADC #DC4A90
square
#D9DC4A #4ADC96 #4D4ADC #DC4A90
split-complementary
#D9DC4A #4A90DC #964ADC
monochromatic
#8D901C #C0C326 #D9DC4A #E4E67D #EFF0B1

Accessibility & contrast

On white

1.47
#D9DC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#D9DC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC4A
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC4A#FFFFFF#000000##000000
##D9DC4A1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD334
Deuteranopia (green-blind)
#EED754
Tritanopia (blue-blind)
#E8CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9dc4a;
/* rgb */ color: rgb(217, 220, 74);
/* oklch */ color: oklch(86.6% 0.163 110.5);
Tailwind
colors: {
  custom: {
    50: '#e8e684',
    500: '#d9dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc4a;
$custom-light: #e8e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc4a",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 61.233,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8662,
    "c": 0.16322,
    "h": 110.5
  },
  "luminance": 0.66433
}

Semantic roles & 50–950 ramp

primary
#D9DC4A
secondary
#373595
accent
#3DEA41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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