#D9EC4B#D9EC4B

#D9EC4B is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.1% C 0.179 H 115.9°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#D9EC4B
RGBrgb(217, 236, 75)
HSLhsl(67, 81%, 61%)
HSVhsv(67, 68%, 93%)
CMYKcmyk(8.1%, 0%, 68.2%, 7.5%)
CIE-LABlab(89.51, -26.15, 72.10)
CIE-LCHlch(89.51, 76.69, 109.94°)
OKLaboklab(90.06% -0.0785 0.1613)
OKLCHoklch(90.06% 0.179 115.9)
XYZxyz(59.8822, 75.2515, 18.0257)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC4B #5E4BEC
analogous
#ECAE4B #D9EC4B #88EC4B
triadic
#D9EC4B #4BD9EC #EC4BD9
tetradic
#D9EC4B #4BECAE #5E4BEC #EC4B88
square
#D9EC4B #4BECAE #5E4BEC #EC4B88
split-complementary
#D9EC4B #4B88EC #AE4BEC
monochromatic
#99AB12 #CAE218 #D9EC4B #E5F282 #F0F8BA

Accessibility & contrast

On white

1.31
#D9EC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#D9EC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC4B
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC4B#FFFFFF#000000##000000
##D9EC4B1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE031
Deuteranopia (green-blind)
#FBE257
Tritanopia (blue-blind)
#E6DFCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec4b;
/* rgb */ color: rgb(217, 236, 75);
/* oklch */ color: oklch(90.1% 0.179 115.9);
Tailwind
colors: {
  custom: {
    50: '#e8f286',
    500: '#d9ec4b',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec4b;
$custom-light: #e8f286;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec4b",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 75
  },
  "hsl": {
    "h": 67.081,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.9006,
    "c": 0.17942,
    "h": 115.9
  },
  "luminance": 0.75251
}

Semantic roles & 50–950 ramp

primary
#D9EC4B
secondary
#3E30AC
accent
#08DD21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9EC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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