#D2EC7B#D2EC7B

#D2EC7B is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 90.0% C 0.142 H 120.0°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#D2EC7B
RGBrgb(210, 236, 123)
HSLhsl(74, 75%, 70%)
HSVhsv(74, 48%, 93%)
CMYKcmyk(11%, 0%, 47.9%, 7.5%)
CIE-LABlab(89.45, -25.25, 51.57)
CIE-LCHlch(89.45, 57.42, 116.09°)
OKLaboklab(90.03% -0.0711 0.1231)
OKLCHoklch(90.03% 0.142 120)
XYZxyz(60.1493, 75.1228, 30.0665)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC7B #957BEC
analogous
#ECCD7B #D2EC7B #9AEC7B
triadic
#D2EC7B #7BD2EC #EC7BD2
tetradic
#D2EC7B #7BECCD #957BEC #EC7B9A
square
#D2EC7B #7BECCD #957BEC #EC7B9A
split-complementary
#D2EC7B #7B9AEC #CD7BEC
monochromatic
#A6CF1E #C0E446 #D2EC7B #E4F4B0 #F6FBE4

Accessibility & contrast

On white

1.31
#D2EC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#D2EC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC7B
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC7B#FFFFFF#000000##000000
##D2EC7B1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#DBE2D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2ec7b;
/* rgb */ color: rgb(210, 236, 123);
/* oklch */ color: oklch(90.0% 0.142 120.0);
Tailwind
colors: {
  custom: {
    50: '#e1f2a3',
    500: '#d2ec7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec7b;
$custom-light: #e1f2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec7b",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 73.805,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90027,
    "c": 0.14213,
    "h": 120
  },
  "luminance": 0.75123
}

Semantic roles & 50–950 ramp

primary
#D2EC7B
secondary
#6346C5
accent
#0FD73D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D2EC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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