#D2E857#D2E857

#D2E857 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 88.8% C 0.169 H 117.3°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#D2E857
RGBrgb(210, 232, 87)
HSLhsl(69, 76%, 63%)
HSVhsv(69, 63%, 91%)
CMYKcmyk(9.5%, 0%, 62.5%, 9%)
CIE-LABlab(88.02, -26.32, 65.80)
CIE-LCHlch(88.02, 70.87, 111.80°)
OKLaboklab(88.77% -0.0774 0.15)
OKLCHoklch(88.77% 0.169 117.3)
XYZxyz(57.1564, 72.1036, 19.9214)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E857 #6D57E8
analogous
#E8B557 #D2E857 #8AE857
triadic
#D2E857 #57D2E8 #E857D2
tetradic
#D2E857 #57E8B5 #6D57E8 #E8578A
square
#D2E857 #57E8B5 #6D57E8 #E8578A
split-complementary
#D2E857 #578AE8 #B557E8
monochromatic
#96AD18 #C4E121 #D2E857 #E0EF8D #EFF7C3

Accessibility & contrast

On white

1.36
#D2E857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#D2E857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E857
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E857#FFFFFF#000000##000000
##D2E8571.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC45
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#DEDCCA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e857;
/* rgb */ color: rgb(210, 232, 87);
/* oklch */ color: oklch(88.8% 0.169 117.3);
Tailwind
colors: {
  custom: {
    50: '#e3ef8d',
    500: '#d2e857',
    950: '#000000',
  },
}
SCSS
$custom: #d2e857;
$custom-light: #e3ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e857",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 87
  },
  "hsl": {
    "h": 69.103,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88765,
    "c": 0.16881,
    "h": 117.3
  },
  "luminance": 0.72103
}

Semantic roles & 50–950 ramp

primary
#D2E857
secondary
#4835AE
accent
#0DD82C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E857

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

Preview Lab → · Contrast checker → · Palette generator →

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