#D2E970#D2E970

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

Color values

HEX#D2E970
RGBrgb(210, 233, 112)
HSLhsl(71, 73%, 68%)
HSVhsv(71, 52%, 91%)
CMYKcmyk(9.9%, 0%, 51.9%, 8.6%)
CIE-LABlab(88.52, -24.85, 55.56)
CIE-LCHlch(88.52, 60.87, 114.10°)
OKLaboklab(89.24% -0.0709 0.1309)
OKLCHoklch(89.24% 0.149 118.5)
XYZxyz(58.6426, 73.1497, 26.3561)
Luminance0.7315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E970 #8770E9
analogous
#E9C370 #D2E970 #95E970
triadic
#D2E970 #70D2E9 #E970D2
tetradic
#D2E970 #70E9C3 #8770E9 #E97095
square
#D2E970 #70E9C3 #8770E9 #E97095
split-complementary
#D2E970 #7095E9 #C370E9
monochromatic
#A2C11E #C1E13B #D2E970 #E3F1A5 #F3F9DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E970#FFFFFF#000000##000000
##D2E9701.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)
#F6DE64
Deuteranopia (green-blind)
#F4DF77
Tritanopia (blue-blind)
#DCDECE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e970;
/* rgb */ color: rgb(210, 233, 112);
/* oklch */ color: oklch(89.2% 0.149 118.5);
Tailwind
colors: {
  custom: {
    50: '#e2f09c',
    500: '#d2e970',
    950: '#000000',
  },
}
SCSS
$custom: #d2e970;
$custom-light: #e2f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e970",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 71.405,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89241,
    "c": 0.14889,
    "h": 118.5
  },
  "luminance": 0.73149
}

Semantic roles & 50–950 ramp

primary
#D2E970
secondary
#563EC0
accent
#10D536
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D2E970

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

Preview Lab → · Contrast checker → · Palette generator →

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