#D2EA5F#D2EA5F

#D2EA5F is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.3% C 0.165 H 118.1°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#D2EA5F
RGBrgb(210, 234, 95)
HSLhsl(70, 77%, 65%)
HSVhsv(70, 59%, 92%)
CMYKcmyk(10.3%, 0%, 59.4%, 8.2%)
CIE-LABlab(88.63, -26.71, 63.16)
CIE-LCHlch(88.63, 68.57, 112.92°)
OKLaboklab(89.27% -0.0778 0.1454)
OKLCHoklch(89.27% 0.165 118.1)
XYZxyz(58.0677, 73.3740, 21.9278)
Luminance0.7337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA5F #775FEA
analogous
#EABD5F #D2EA5F #8CEA5F
triadic
#D2EA5F #5FD2EA #EA5FD2
tetradic
#D2EA5F #5FEABD #775FEA #EA5F8C
square
#D2EA5F #5FEABD #775FEA #EA5F8C
split-complementary
#D2EA5F #5F8CEA #BD5FEA
monochromatic
#9BB718 #C3E329 #D2EA5F #E1F195 #F0F8CB

Accessibility & contrast

On white

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

On black

15.67
#D2EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA5F
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA5F#FFFFFF#000000##000000
##D2EA5F1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4F
Deuteranopia (green-blind)
#F6DF68
Tritanopia (blue-blind)
#DDDECC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2ea5f;
/* rgb */ color: rgb(210, 234, 95);
/* oklch */ color: oklch(89.3% 0.165 118.1);
Tailwind
colors: {
  custom: {
    50: '#e2f092',
    500: '#d2ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea5f;
$custom-light: #e2f092;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea5f",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 70.36,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89274,
    "c": 0.1649,
    "h": 118.1
  },
  "luminance": 0.73373
}

Semantic roles & 50–950 ramp

primary
#D2EA5F
secondary
#4D37B6
accent
#0CD930
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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