#D2EA5C#D2EA5C

#D2EA5C is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 89.2% C 0.167 H 118.0°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#D2EA5C
RGBrgb(210, 234, 92)
HSLhsl(70, 77%, 64%)
HSVhsv(70, 61%, 92%)
CMYKcmyk(10.3%, 0%, 60.7%, 8.2%)
CIE-LABlab(88.60, -26.93, 64.38)
CIE-LCHlch(88.60, 69.79, 112.70°)
OKLaboklab(89.24% -0.0786 0.1476)
OKLCHoklch(89.24% 0.167 118)
XYZxyz(57.9339, 73.3205, 21.2234)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA5C #745CEA
analogous
#EABB5C #D2EA5C #8BEA5C
triadic
#D2EA5C #5CD2EA #EA5CD2
tetradic
#D2EA5C #5CEABB #745CEA #EA5C8B
square
#D2EA5C #5CEABB #745CEA #EA5C8B
split-complementary
#D2EA5C #5C8BEA #BB5CEA
monochromatic
#9AB417 #C3E326 #D2EA5C #E1F192 #F0F8C8

Accessibility & contrast

On white

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

On black

15.66
#D2EA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA5C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA5C#FFFFFF#000000##000000
##D2EA5C1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4B
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#DEDECC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2ea5c;
/* rgb */ color: rgb(210, 234, 92);
/* oklch */ color: oklch(89.2% 0.167 118.0);
Tailwind
colors: {
  custom: {
    50: '#e3f090',
    500: '#d2ea5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea5c;
$custom-light: #e3f090;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea5c",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 92
  },
  "hsl": {
    "h": 70.141,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89245,
    "c": 0.16728,
    "h": 118
  },
  "luminance": 0.7332
}

Semantic roles & 50–950 ramp

primary
#D2EA5C
secondary
#4B36B4
accent
#0CD92F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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