#D9E042#D9E042

#D9E042 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.4% C 0.172 H 112.0°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#D9E042
RGBrgb(217, 224, 66)
HSLhsl(63, 72%, 57%)
HSVhsv(63, 71%, 88%)
CMYKcmyk(3.1%, 0%, 70.5%, 12.2%)
CIE-LABlab(86.23, -20.86, 72.06)
CIE-LCHlch(86.23, 75.01, 106.15°)
OKLaboklab(87.42% -0.0646 0.1598)
OKLCHoklch(87.42% 0.172 112)
XYZxyz(56.2561, 68.4577, 15.4034)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E042 #4942E0
analogous
#E09842 #D9E042 #8AE042
triadic
#D9E042 #42D9E0 #E042D9
tetradic
#D9E042 #42E098 #4942E0 #E0428A
square
#D9E042 #42E098 #4942E0 #E0428A
split-complementary
#D9E042 #428AE0 #9842E0
monochromatic
#8B9018 #BDC520 #D9E042 #E4E977 #EEF1AB

Accessibility & contrast

On white

1.43
#D9E042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#D9E042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E042
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E042#FFFFFF#000000##000000
##D9E0421.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D625
Deuteranopia (green-blind)
#F2DA4E
Tritanopia (blue-blind)
#E8D2C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d9e042;
/* rgb */ color: rgb(217, 224, 66);
/* oklch */ color: oklch(87.4% 0.172 112.0);
Tailwind
colors: {
  custom: {
    50: '#e8e981',
    500: '#d9e042',
    950: '#000000',
  },
}
SCSS
$custom: #d9e042;
$custom-light: #e8e981;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e042",
  "rgb": {
    "r": 217,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 62.658,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.87417,
    "c": 0.17235,
    "h": 112
  },
  "luminance": 0.68456
}

Semantic roles & 50–950 ramp

primary
#D9E042
secondary
#363195
accent
#39EF41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D9E042

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

Preview Lab → · Contrast checker → · Palette generator →

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