#D9E45B#D9E45B

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

Color values

HEX#D9E45B
RGBrgb(217, 228, 91)
HSLhsl(65, 72%, 63%)
HSVhsv(65, 60%, 89%)
CMYKcmyk(4.8%, 0%, 60.1%, 10.6%)
CIE-LABlab(87.48, -21.34, 63.73)
CIE-LCHlch(87.48, 67.21, 108.51°)
OKLaboklab(88.47% -0.0635 0.146)
OKLCHoklch(88.47% 0.159 113.5)
XYZxyz(58.2484, 70.9949, 20.5305)
Luminance0.7099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E45B #665BE4
analogous
#E4AB5B #D9E45B #94E45B
triadic
#D9E45B #5BD9E4 #E45BD9
tetradic
#D9E45B #5BE4AB #665BE4 #E45B94
square
#D9E45B #5BE4AB #665BE4 #E45B94
split-complementary
#D9E45B #5B94E4 #AB5BE4
monochromatic
#9DA91C #CDDB26 #D9E45B #E5ED90 #F1F5C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9E45B#FFFFFF#000000##000000
##D9E45B1.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)
#F4DA4B
Deuteranopia (green-blind)
#F3DD64
Tritanopia (blue-blind)
#E6D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d9e45b;
/* rgb */ color: rgb(217, 228, 91);
/* oklch */ color: oklch(88.5% 0.159 113.5);
Tailwind
colors: {
  custom: {
    50: '#e8ec8f',
    500: '#d9e45b',
    950: '#000000',
  },
}
SCSS
$custom: #d9e45b;
$custom-light: #e8ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e45b",
  "rgb": {
    "r": 217,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 64.818,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88472,
    "c": 0.1592,
    "h": 113.5
  },
  "luminance": 0.70994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9E45B

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

Preview Lab → · Contrast checker → · Palette generator →

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