#D2EC6B#D2EC6B

#D2EC6B is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.8% C 0.157 H 119.2°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#D2EC6B
RGBrgb(210, 236, 107)
HSLhsl(72, 77%, 67%)
HSVhsv(72, 55%, 93%)
CMYKcmyk(11%, 0%, 54.7%, 7.5%)
CIE-LABlab(89.28, -26.71, 58.69)
CIE-LCHlch(89.28, 64.49, 114.47°)
OKLaboklab(89.83% -0.0766 0.1372)
OKLCHoklch(89.83% 0.157 119.2)
XYZxyz(59.2283, 74.7544, 25.2159)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC6B #856BEC
analogous
#ECC66B #D2EC6B #92EC6B
triadic
#D2EC6B #6BD2EC #EC6BD2
tetradic
#D2EC6B #6BECC6 #856BEC #EC6B92
square
#D2EC6B #6BECC6 #856BEC #EC6B92
split-complementary
#D2EC6B #6B92EC #C66BEC
monochromatic
#A1C419 #C2E535 #D2EC6B #E2F3A1 #F3FAD7

Accessibility & contrast

On white

1.32
#D2EC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#D2EC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC6B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC6B#FFFFFF#000000##000000
##D2EC6B1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05E
Deuteranopia (green-blind)
#F6E173
Tritanopia (blue-blind)
#DCE1D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec6b;
/* rgb */ color: rgb(210, 236, 107);
/* oklch */ color: oklch(89.8% 0.157 119.2);
Tailwind
colors: {
  custom: {
    50: '#e2f299',
    500: '#d2ec6b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec6b;
$custom-light: #e2f299;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec6b",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 107
  },
  "hsl": {
    "h": 72.093,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89833,
    "c": 0.15714,
    "h": 119.2
  },
  "luminance": 0.74754
}

Semantic roles & 50–950 ramp

primary
#D2EC6B
secondary
#553AC2
accent
#0CD935
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D2EC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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