#D1E962#D1E962

#D1E962 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 89.0% C 0.162 H 118.3°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#D1E962
RGBrgb(209, 233, 98)
HSLhsl(71, 75%, 65%)
HSVhsv(71, 58%, 91%)
CMYKcmyk(10.3%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.31, -26.40, 61.52)
CIE-LCHlch(88.31, 66.94, 113.23°)
OKLaboklab(89.01% -0.0766 0.1423)
OKLCHoklch(89.01% 0.162 118.3)
XYZxyz(57.6389, 72.7154, 22.5519)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E962 #7A62E9
analogous
#E9BE62 #D1E962 #8DE962
triadic
#D1E962 #62D1E9 #E962D1
tetradic
#D1E962 #62E9BE #7A62E9 #E9628D
square
#D1E962 #62E9BE #7A62E9 #E9628D
split-complementary
#D1E962 #628DE9 #BE62E9
monochromatic
#9BB71A #C1E12C #D1E962 #E1F198 #F0F8CD

Accessibility & contrast

On white

1.35
#D1E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#D1E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E962
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E962#FFFFFF#000000##000000
##D1E9621.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#DCDDCC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1e962;
/* rgb */ color: rgb(209, 233, 98);
/* oklch */ color: oklch(89.0% 0.162 118.3);
Tailwind
colors: {
  custom: {
    50: '#e2f093',
    500: '#d1e962',
    950: '#000000',
  },
}
SCSS
$custom: #d1e962;
$custom-light: #e2f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e962",
  "rgb": {
    "r": 209,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 70.667,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89013,
    "c": 0.16157,
    "h": 118.3
  },
  "luminance": 0.72715
}

Semantic roles & 50–950 ramp

primary
#D1E962
secondary
#4F38B7
accent
#0ED832
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1E962

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

Preview Lab → · Contrast checker → · Palette generator →

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