#D1EA57#D1EA57

#D1EA57 is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.1% C 0.171 H 118.2°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#D1EA57
RGBrgb(209, 234, 87)
HSLhsl(70, 78%, 63%)
HSVhsv(70, 63%, 92%)
CMYKcmyk(10.7%, 0%, 62.8%, 8.2%)
CIE-LABlab(88.49, -27.66, 66.28)
CIE-LCHlch(88.49, 71.82, 112.65°)
OKLaboklab(89.13% -0.0811 0.151)
OKLCHoklch(89.13% 0.171 118.2)
XYZxyz(57.4386, 73.0895, 20.0968)
Luminance0.7309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EA57 #7057EA
analogous
#EAB957 #D1EA57 #87EA57
triadic
#D1EA57 #57D1EA #EA57D1
tetradic
#D1EA57 #57EAB9 #7057EA #EA5787
square
#D1EA57 #57EAB9 #7057EA #EA5787
split-complementary
#D1EA57 #5787EA #B957EA
monochromatic
#96B116 #C2E321 #D1EA57 #E0F18D #EFF8C4

Accessibility & contrast

On white

1.34
#D1EA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#D1EA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EA57
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EA57#FFFFFF#000000##000000
##D1EA571.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE44
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#DDDECC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1ea57;
/* rgb */ color: rgb(209, 234, 87);
/* oklch */ color: oklch(89.1% 0.171 118.2);
Tailwind
colors: {
  custom: {
    50: '#e2f08d',
    500: '#d1ea57',
    950: '#000000',
  },
}
SCSS
$custom: #d1ea57;
$custom-light: #e2f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ea57",
  "rgb": {
    "r": 209,
    "g": 234,
    "b": 87
  },
  "hsl": {
    "h": 70.204,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89127,
    "c": 0.17144,
    "h": 118.2
  },
  "luminance": 0.73089
}

Semantic roles & 50–950 ramp

primary
#D1EA57
secondary
#4934B1
accent
#0BDA2F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1EA57

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

Preview Lab → · Contrast checker → · Palette generator →

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