#D1E151#D1E151

#D1E151 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.1% C 0.166 H 115.3°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D1E151
RGBrgb(209, 225, 81)
HSLhsl(67, 71%, 60%)
HSVhsv(67, 64%, 88%)
CMYKcmyk(7.1%, 0%, 64%, 11.8%)
CIE-LABlab(86.01, -23.77, 66.05)
CIE-LCHlch(86.01, 70.20, 109.79°)
OKLaboklab(87.12% -0.0708 0.1497)
OKLCHoklch(87.12% 0.166 115.3)
XYZxyz(54.7062, 68.0007, 18.0266)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E151 #6151E1
analogous
#E1A951 #D1E151 #89E151
triadic
#D1E151 #51D1E1 #E151D1
tetradic
#D1E151 #51E1A9 #6151E1 #E15189
square
#D1E151 #51E1A9 #6151E1 #E15189
split-complementary
#D1E151 #5189E1 #A951E1
monochromatic
#8E9D1B #BED124 #D1E151 #DFEA85 #EDF3B9

Accessibility & contrast

On white

1.44
#D1E151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D1E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E151
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E151#FFFFFF#000000##000000
##D1E1511.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#DED5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d1e151;
/* rgb */ color: rgb(209, 225, 81);
/* oklch */ color: oklch(87.1% 0.166 115.3);
Tailwind
colors: {
  custom: {
    50: '#e2ea89',
    500: '#d1e151',
    950: '#000000',
  },
}
SCSS
$custom: #d1e151;
$custom-light: #e2ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e151",
  "rgb": {
    "r": 209,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 66.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87119,
    "c": 0.16562,
    "h": 115.3
  },
  "luminance": 0.68
}

Semantic roles & 50–950 ramp

primary
#D1E151
secondary
#4236A0
accent
#3AED4E
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1E151

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

Preview Lab → · Contrast checker → · Palette generator →

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