#D2EC6A#D2EC6A

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

Color values

HEX#D2EC6A
RGBrgb(210, 236, 106)
HSLhsl(72, 77%, 67%)
HSVhsv(72, 55%, 93%)
CMYKcmyk(11%, 0%, 55.1%, 7.5%)
CIE-LABlab(89.27, -26.80, 59.13)
CIE-LCHlch(89.27, 64.91, 114.38°)
OKLaboklab(89.82% -0.0769 0.138)
OKLCHoklch(89.82% 0.158 119.1)
XYZxyz(59.1760, 74.7335, 24.9404)
Luminance0.7473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC6A #846AEC
analogous
#ECC56A #D2EC6A #91EC6A
triadic
#D2EC6A #6AD2EC #EC6AD2
tetradic
#D2EC6A #6AECC5 #846AEC #EC6A91
square
#D2EC6A #6AECC5 #846AEC #EC6A91
split-complementary
#D2EC6A #6A91EC #C56AEC
monochromatic
#A1C319 #C2E534 #D2EC6A #E2F3A0 #F3FAD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2EC6A#FFFFFF#000000##000000
##D2EC6A1.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)
#F9E05D
Deuteranopia (green-blind)
#F6E172
Tritanopia (blue-blind)
#DCE1CF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec6a;
/* rgb */ color: rgb(210, 236, 106);
/* oklch */ color: oklch(89.8% 0.158 119.1);
Tailwind
colors: {
  custom: {
    50: '#e2f298',
    500: '#d2ec6a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec6a;
$custom-light: #e2f298;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec6a",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 106
  },
  "hsl": {
    "h": 72,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89822,
    "c": 0.15802,
    "h": 119.1
  },
  "luminance": 0.74733
}

Semantic roles & 50–950 ramp

primary
#D2EC6A
secondary
#5439C1
accent
#0CDA35
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D2EC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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