#D9E051#D9E051

#D9E051 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.162 H 112.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#D9E051
RGBrgb(217, 224, 81)
HSLhsl(63, 70%, 60%)
HSVhsv(63, 64%, 88%)
CMYKcmyk(3.1%, 0%, 63.8%, 12.2%)
CIE-LABlab(86.33, -20.05, 66.58)
CIE-LCHlch(86.33, 69.53, 106.76°)
OKLaboklab(87.53% -0.0609 0.1506)
OKLCHoklch(87.53% 0.162 112)
XYZxyz(56.7577, 68.6584, 18.0455)
Luminance0.6866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E051 #5851E0
analogous
#E0A051 #D9E051 #92E051
triadic
#D9E051 #51D9E0 #E051D9
tetradic
#D9E051 #51E0A0 #5851E0 #E05192
square
#D9E051 #51E0A0 #5851E0 #E05192
split-complementary
#D9E051 #5192E0 #A051E0
monochromatic
#959B1C #C7CF25 #D9E051 #E4E985 #F0F3B9

Accessibility & contrast

On white

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

On black

14.73
#D9E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E051
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E051#FFFFFF#000000##000000
##D9E0511.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#E7D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d9e051;
/* rgb */ color: rgb(217, 224, 81);
/* oklch */ color: oklch(87.5% 0.162 112.0);
Tailwind
colors: {
  custom: {
    50: '#e8e989',
    500: '#d9e051',
    950: '#000000',
  },
}
SCSS
$custom: #d9e051;
$custom-light: #e8e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e051",
  "rgb": {
    "r": 217,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 62.937,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87529,
    "c": 0.16246,
    "h": 112
  },
  "luminance": 0.68657
}

Semantic roles & 50–950 ramp

primary
#D9E051
secondary
#3C379F
accent
#3BED44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E051

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

Preview Lab → · Contrast checker → · Palette generator →

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