#D2E962#D2E962

#D2E962 is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.1% C 0.161 H 117.9°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#D2E962
RGBrgb(210, 233, 98)
HSLhsl(70, 75%, 65%)
HSVhsv(70, 58%, 91%)
CMYKcmyk(9.9%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.38, -26.01, 61.61)
CIE-LCHlch(88.38, 66.88, 112.89°)
OKLaboklab(89.09% -0.0755 0.1425)
OKLCHoklch(89.09% 0.161 117.9)
XYZxyz(57.9228, 72.8618, 22.5652)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E962 #7962E9
analogous
#E9BC62 #D2E962 #8FE962
triadic
#D2E962 #62D2E9 #E962D2
tetradic
#D2E962 #62E9BC #7962E9 #E9628F
square
#D2E962 #62E9BC #7962E9 #E9628F
split-complementary
#D2E962 #628FE9 #BC62E9
monochromatic
#9CB71A #C3E12C #D2E962 #E1F198 #F1F8CD

Accessibility & contrast

On white

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

On black

15.57
#D2E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E962
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E962#FFFFFF#000000##000000
##D2E9621.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e962;
/* rgb */ color: rgb(210, 233, 98);
/* oklch */ color: oklch(89.1% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#e2f093',
    500: '#d2e962',
    950: '#000000',
  },
}
SCSS
$custom: #d2e962;
$custom-light: #e2f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e962",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 70.222,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89087,
    "c": 0.16125,
    "h": 117.9
  },
  "luminance": 0.72861
}

Semantic roles & 50–950 ramp

primary
#D2E962
secondary
#4E38B7
accent
#0ED830
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E962

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

Preview Lab → · Contrast checker → · Palette generator →

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