#D1EA5C#D1EA5C

#D1EA5C is a very light, vivid yellow-green. Relative luminance 0.732; OKLCH L 89.2% C 0.168 H 118.4°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#D1EA5C
RGBrgb(209, 234, 92)
HSLhsl(71, 77%, 64%)
HSVhsv(71, 61%, 92%)
CMYKcmyk(10.7%, 0%, 60.7%, 8.2%)
CIE-LABlab(88.53, -27.32, 64.29)
CIE-LCHlch(88.53, 69.85, 113.02°)
OKLaboklab(89.17% -0.0797 0.1475)
OKLCHoklch(89.17% 0.168 118.4)
XYZxyz(57.6500, 73.1741, 21.2101)
Luminance0.7317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EA5C #755CEA
analogous
#EABC5C #D1EA5C #8AEA5C
triadic
#D1EA5C #5CD1EA #EA5CD1
tetradic
#D1EA5C #5CEABC #755CEA #EA5C8A
square
#D1EA5C #5CEABC #755CEA #EA5C8A
split-complementary
#D1EA5C #5C8AEA #BC5CEA
monochromatic
#99B417 #C2E326 #D1EA5C #E0F192 #F0F8C8

Accessibility & contrast

On white

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

On black

15.63
#D1EA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EA5C
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EA5C#FFFFFF#000000##000000
##D1EA5C1.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4B
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#DCDECC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1ea5c;
/* rgb */ color: rgb(209, 234, 92);
/* oklch */ color: oklch(89.2% 0.168 118.4);
Tailwind
colors: {
  custom: {
    50: '#e2f090',
    500: '#d1ea5c',
    950: '#000000',
  },
}
SCSS
$custom: #d1ea5c;
$custom-light: #e2f090;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ea5c",
  "rgb": {
    "r": 209,
    "g": 234,
    "b": 92
  },
  "hsl": {
    "h": 70.563,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89172,
    "c": 0.16762,
    "h": 118.4
  },
  "luminance": 0.73174
}

Semantic roles & 50–950 ramp

primary
#D1EA5C
secondary
#4C36B4
accent
#0CD930
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1EA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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