#D2E97B#D2E97B

#D2E97B is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.4% C 0.138 H 119.0°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#D2E97B
RGBrgb(210, 233, 123)
HSLhsl(73, 71%, 70%)
HSVhsv(73, 47%, 91%)
CMYKcmyk(9.9%, 0%, 47.2%, 8.6%)
CIE-LABlab(88.64, -23.82, 50.59)
CIE-LCHlch(88.64, 55.92, 115.21°)
OKLaboklab(89.38% -0.067 0.1209)
OKLCHoklch(89.38% 0.138 119)
XYZxyz(59.2929, 73.4098, 29.7810)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E97B #927BE9
analogous
#E9C97B #D2E97B #9BE97B
triadic
#D2E97B #7BD2E9 #E97BD2
tetradic
#D2E97B #7BE9C9 #927BE9 #E97B9B
square
#D2E97B #7BE9C9 #927BE9 #E97B9B
split-complementary
#D2E97B #7B9BE9 #C97BE9
monochromatic
#A5C821 #C0E047 #D2E97B #E4F2AF #F6FAE4

Accessibility & contrast

On white

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

On black

15.68
#D2E97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E97B
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E97B#FFFFFF#000000##000000
##D2E97B1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE71
Deuteranopia (green-blind)
#F3DF81
Tritanopia (blue-blind)
#DBDFCF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e97b;
/* rgb */ color: rgb(210, 233, 123);
/* oklch */ color: oklch(89.4% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#e1f0a3',
    500: '#d2e97b',
    950: '#000000',
  },
}
SCSS
$custom: #d2e97b;
$custom-light: #e1f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e97b",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 72.545,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8938,
    "c": 0.13826,
    "h": 119
  },
  "luminance": 0.7341
}

Semantic roles & 50–950 ramp

primary
#D2E97B
secondary
#6047C2
accent
#12D33A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2E97B

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

Preview Lab → · Contrast checker → · Palette generator →

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