#D1EF5C#D1EF5C

#D1EF5C is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.3% C 0.174 H 119.8°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#D1EF5C
RGBrgb(209, 239, 92)
HSLhsl(72, 82%, 65%)
HSVhsv(72, 62%, 94%)
CMYKcmyk(12.6%, 0%, 61.5%, 6.3%)
CIE-LABlab(89.89, -29.67, 65.76)
CIE-LCHlch(89.89, 72.14, 114.28°)
OKLaboklab(90.26% -0.0862 0.1506)
OKLCHoklch(90.26% 0.174 119.8)
XYZxyz(59.0936, 76.0613, 21.6913)
Luminance0.7606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EF5C #7A5CEF
analogous
#EFC45C #D1EF5C #87EF5C
triadic
#D1EF5C #5CD1EF #EF5CD1
tetradic
#D1EF5C #5CEFC4 #7A5CEF #EF5C87
square
#D1EF5C #5CEFC4 #7A5CEF #EF5C87
split-complementary
#D1EF5C #5C87EF #C45CEF
monochromatic
#9BBE13 #C1EA24 #D1EF5C #E1F494 #F0FACB

Accessibility & contrast

On white

1.30
#D1EF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#D1EF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EF5C
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EF5C#FFFFFF#000000##000000
##D1EF5C1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24A
Deuteranopia (green-blind)
#FAE266
Tritanopia (blue-blind)
#DCE3D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d1ef5c;
/* rgb */ color: rgb(209, 239, 92);
/* oklch */ color: oklch(90.3% 0.174 119.8);
Tailwind
colors: {
  custom: {
    50: '#e2f490',
    500: '#d1ef5c',
    950: '#000000',
  },
}
SCSS
$custom: #d1ef5c;
$custom-light: #e2f490;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ef5c",
  "rgb": {
    "r": 209,
    "g": 239,
    "b": 92
  },
  "hsl": {
    "h": 72.245,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90263,
    "c": 0.17352,
    "h": 119.8
  },
  "luminance": 0.76061
}

Semantic roles & 50–950 ramp

primary
#D1EF5C
secondary
#4F33BC
accent
#07DF33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1EF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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