#D1E45B#D1E45B

#D1E45B is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.9% C 0.161 H 116.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D1E45B
RGBrgb(209, 228, 91)
HSLhsl(68, 72%, 63%)
HSVhsv(68, 60%, 89%)
CMYKcmyk(8.3%, 0%, 60.1%, 10.6%)
CIE-LABlab(86.90, -24.54, 62.93)
CIE-LCHlch(86.90, 67.54, 111.30°)
OKLaboklab(87.86% -0.072 0.1445)
OKLCHoklch(87.86% 0.161 116.5)
XYZxyz(55.9273, 69.7981, 20.4217)
Luminance0.6980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E45B #6E5BE4
analogous
#E4B25B #D1E45B #8DE45B
triadic
#D1E45B #5BD1E4 #E45BD1
tetradic
#D1E45B #5BE4B2 #6E5BE4 #E45B8D
square
#D1E45B #5BE4B2 #6E5BE4 #E45B8D
split-complementary
#D1E45B #5B8DE4 #B25BE4
monochromatic
#95A91C #C2DB26 #D1E45B #E0ED90 #EEF5C4

Accessibility & contrast

On white

1.40
#D1E45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D1E45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E45B
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E45B#FFFFFF#000000##000000
##D1E45B1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D94B
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#DDD8C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d1e45b;
/* rgb */ color: rgb(209, 228, 91);
/* oklch */ color: oklch(87.9% 0.161 116.5);
Tailwind
colors: {
  custom: {
    50: '#e2ec8f',
    500: '#d1e45b',
    950: '#000000',
  },
}
SCSS
$custom: #d1e45b;
$custom-light: #e2ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e45b",
  "rgb": {
    "r": 209,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 68.321,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87859,
    "c": 0.1614,
    "h": 116.5
  },
  "luminance": 0.69797
}

Semantic roles & 50–950 ramp

primary
#D1E45B
secondary
#4839AB
accent
#12D42D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D1E45B

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

Preview Lab → · Contrast checker → · Palette generator →

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