#D2E57B#D2E57B

#D2E57B is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 88.5% C 0.133 H 117.6°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#D2E57B
RGBrgb(210, 229, 123)
HSLhsl(71, 67%, 69%)
HSVhsv(71, 46%, 90%)
CMYKcmyk(8.3%, 0%, 46.3%, 10.2%)
CIE-LABlab(87.57, -21.89, 49.29)
CIE-LCHlch(87.57, 53.93, 113.95°)
OKLaboklab(88.52% -0.0616 0.118)
OKLCHoklch(88.52% 0.133 117.6)
XYZxyz(58.1733, 71.1708, 29.4078)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E57B #8E7BE5
analogous
#E5C37B #D2E57B #9DE57B
triadic
#D2E57B #7BD2E5 #E57BD2
tetradic
#D2E57B #7BE5C3 #8E7BE5 #E57B9D
square
#D2E57B #7BE5C3 #8E7BE5 #E57B9D
split-complementary
#D2E57B #7B9DE5 #C37BE5
monochromatic
#A4C026 #C1DB48 #D2E57B #E3EFAE #F5F9E1

Accessibility & contrast

On white

1.38
#D2E57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#D2E57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E57B
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E57B#FFFFFF#000000##000000
##D2E57B1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB72
Deuteranopia (green-blind)
#EFDC81
Tritanopia (blue-blind)
#DCDBCC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e57b;
/* rgb */ color: rgb(210, 229, 123);
/* oklch */ color: oklch(88.5% 0.133 117.6);
Tailwind
colors: {
  custom: {
    50: '#e1eda3',
    500: '#d2e57b',
    950: '#000000',
  },
}
SCSS
$custom: #d2e57b;
$custom-light: #e1eda3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e57b",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 123
  },
  "hsl": {
    "h": 70.755,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8852,
    "c": 0.13313,
    "h": 117.6
  },
  "luminance": 0.7117
}

Semantic roles & 50–950 ramp

primary
#D2E57B
secondary
#5C47BD
accent
#17CF38
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E57B

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

Preview Lab → · Contrast checker → · Palette generator →

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