#D9E45C#D9E45C

#D9E45C is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.5% C 0.158 H 113.5°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#D9E45C
RGBrgb(217, 228, 92)
HSLhsl(65, 72%, 63%)
HSVhsv(65, 60%, 89%)
CMYKcmyk(4.8%, 0%, 59.6%, 10.6%)
CIE-LABlab(87.49, -21.27, 63.32)
CIE-LCHlch(87.49, 66.80, 108.57°)
OKLaboklab(88.48% -0.0632 0.1453)
OKLCHoklch(88.48% 0.158 113.5)
XYZxyz(58.2918, 71.0123, 20.7592)
Luminance0.7101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E45C #675CE4
analogous
#E4AB5C #D9E45C #95E45C
triadic
#D9E45C #5CD9E4 #E45CD9
tetradic
#D9E45C #5CE4AB #675CE4 #E45C95
square
#D9E45C #5CE4AB #675CE4 #E45C95
split-complementary
#D9E45C #5C95E4 #AB5CE4
monochromatic
#9EAA1C #CDDB27 #D9E45C #E5ED91 #F1F5C5

Accessibility & contrast

On white

1.38
#D9E45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#D9E45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E45C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E45C#FFFFFF#000000##000000
##D9E45C1.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4C
Deuteranopia (green-blind)
#F3DD65
Tritanopia (blue-blind)
#E6D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d9e45c;
/* rgb */ color: rgb(217, 228, 92);
/* oklch */ color: oklch(88.5% 0.158 113.5);
Tailwind
colors: {
  custom: {
    50: '#e7ec8f',
    500: '#d9e45c',
    950: '#000000',
  },
}
SCSS
$custom: #d9e45c;
$custom-light: #e7ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e45c",
  "rgb": {
    "r": 217,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 64.853,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88482,
    "c": 0.1584,
    "h": 113.5
  },
  "luminance": 0.71011
}

Semantic roles & 50–950 ramp

primary
#D9E45C
secondary
#4239AB
accent
#12D422
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D9E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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