#D1EB5F#D1EB5F

#D1EB5F is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 89.4% C 0.166 H 118.8°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#D1EB5F
RGBrgb(209, 235, 95)
HSLhsl(71, 78%, 65%)
HSVhsv(71, 60%, 92%)
CMYKcmyk(11.1%, 0%, 59.6%, 7.8%)
CIE-LABlab(88.83, -27.57, 63.36)
CIE-LCHlch(88.83, 69.10, 113.52°)
OKLaboklab(89.42% -0.0801 0.1459)
OKLCHoklch(89.42% 0.166 118.8)
XYZxyz(58.0693, 73.7986, 22.0097)
Luminance0.7380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EB5F #795FEB
analogous
#EBBF5F #D1EB5F #8BEB5F
triadic
#D1EB5F #5FD1EB #EB5FD1
tetradic
#D1EB5F #5FEBBF #795FEB #EB5F8B
square
#D1EB5F #5FEBBF #795FEB #EB5F8B
split-complementary
#D1EB5F #5F8BEB #BF5FEB
monochromatic
#9BB917 #C1E429 #D1EB5F #E1F295 #F0F9CC

Accessibility & contrast

On white

1.33
#D1EB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#D1EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EB5F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EB5F#FFFFFF#000000##000000
##D1EB5F1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F6E068
Tritanopia (blue-blind)
#DCDFCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d1eb5f;
/* rgb */ color: rgb(209, 235, 95);
/* oklch */ color: oklch(89.4% 0.166 118.8);
Tailwind
colors: {
  custom: {
    50: '#e2f192',
    500: '#d1eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d1eb5f;
$custom-light: #e2f192;
$custom-dark: #000000;
JSON
{
  "hex": "#d1eb5f",
  "rgb": {
    "r": 209,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 71.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89418,
    "c": 0.16642,
    "h": 118.8
  },
  "luminance": 0.73798
}

Semantic roles & 50–950 ramp

primary
#D1EB5F
secondary
#4E36B8
accent
#0BDA32
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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