#D9DC5A#D9DC5A

#D9DC5A is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.151 H 110.4°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#D9DC5A
RGBrgb(217, 220, 90)
HSLhsl(61, 65%, 61%)
HSVhsv(61, 59%, 86%)
CMYKcmyk(1.4%, 0%, 59.1%, 13.7%)
CIE-LABlab(85.34, -17.51, 61.82)
CIE-LCHlch(85.34, 64.25, 105.81°)
OKLaboklab(86.76% -0.0528 0.1418)
OKLCHoklch(86.76% 0.151 110.4)
XYZxyz(56.0555, 66.6777, 19.5881)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC5A #5D5ADC
analogous
#DC9E5A #D9DC5A #98DC5A
triadic
#D9DC5A #5AD9DC #DC5AD9
tetradic
#D9DC5A #5ADC9E #5D5ADC #DC5A98
square
#D9DC5A #5ADC9E #5D5ADC #DC5A98
split-complementary
#D9DC5A #5A98DC #9E5ADC
monochromatic
#989B21 #CACD2C #D9DC5A #E5E78C #F0F1BF

Accessibility & contrast

On white

1.46
#D9DC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#D9DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC5A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC5A#FFFFFF#000000##000000
##D9DC5A1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34B
Deuteranopia (green-blind)
#EDD762
Tritanopia (blue-blind)
#E7CFC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9dc5a;
/* rgb */ color: rgb(217, 220, 90);
/* oklch */ color: oklch(86.8% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68e',
    500: '#d9dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc5a;
$custom-light: #e7e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc5a",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 61.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86758,
    "c": 0.15131,
    "h": 110.4
  },
  "luminance": 0.66676
}

Semantic roles & 50–950 ramp

primary
#D9DC5A
secondary
#3E3B9F
accent
#19CD1D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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