#D2EB7C#D2EB7C

#D2EB7C is a very light, vivid yellow-green. Relative luminance 0.746; OKLCH L 89.8% C 0.140 H 119.7°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#D2EB7C
RGBrgb(210, 235, 124)
HSLhsl(74, 74%, 70%)
HSVhsv(74, 47%, 92%)
CMYKcmyk(10.6%, 0%, 47.2%, 7.8%)
CIE-LABlab(89.19, -24.68, 50.79)
CIE-LCHlch(89.19, 56.47, 115.91°)
OKLaboklab(89.83% -0.0694 0.1214)
OKLCHoklch(89.83% 0.14 119.7)
XYZxyz(59.9252, 74.5738, 30.3021)
Luminance0.7457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EB7C #957CEB
analogous
#EBCD7C #D2EB7C #9AEB7C
triadic
#D2EB7C #7CD2EB #EB7CD2
tetradic
#D2EB7C #7CEBCD #957CEB #EB7C9A
square
#D2EB7C #7CEBCD #957CEB #EB7C9A
split-complementary
#D2EB7C #7C9AEB #CD7CEB
monochromatic
#A6CD1F #C0E347 #D2EB7C #E4F3B1 #F6FBE4

Accessibility & contrast

On white

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

On black

15.91
#D2EB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EB7C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EB7C#FFFFFF#000000##000000
##D2EB7C1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E072
Deuteranopia (green-blind)
#F4E082
Tritanopia (blue-blind)
#DBE1D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2eb7c;
/* rgb */ color: rgb(210, 235, 124);
/* oklch */ color: oklch(89.8% 0.140 119.7);
Tailwind
colors: {
  custom: {
    50: '#e1f1a4',
    500: '#d2eb7c',
    950: '#000000',
  },
}
SCSS
$custom: #d2eb7c;
$custom-light: #e1f1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2eb7c",
  "rgb": {
    "r": 210,
    "g": 235,
    "b": 124
  },
  "hsl": {
    "h": 73.514,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89825,
    "c": 0.13984,
    "h": 119.7
  },
  "luminance": 0.74574
}

Semantic roles & 50–950 ramp

primary
#D2EB7C
secondary
#6347C4
accent
#10D63C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2EB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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