#D2EA57#D2EA57

#D2EA57 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.2% C 0.171 H 117.9°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#D2EA57
RGBrgb(210, 234, 87)
HSLhsl(70, 78%, 63%)
HSVhsv(70, 63%, 92%)
CMYKcmyk(10.3%, 0%, 62.8%, 8.2%)
CIE-LABlab(88.56, -27.27, 66.38)
CIE-LCHlch(88.56, 71.76, 112.33°)
OKLaboklab(89.2% -0.0801 0.1512)
OKLCHoklch(89.2% 0.171 117.9)
XYZxyz(57.7225, 73.2359, 20.1101)
Luminance0.7323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA57 #6F57EA
analogous
#EAB857 #D2EA57 #88EA57
triadic
#D2EA57 #57D2EA #EA57D2
tetradic
#D2EA57 #57EAB8 #6F57EA #EA5788
square
#D2EA57 #57EAB8 #6F57EA #EA5788
split-complementary
#D2EA57 #5788EA #B857EA
monochromatic
#97B116 #C3E321 #D2EA57 #E1F18D #EFF8C4

Accessibility & contrast

On white

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

On black

15.65
#D2EA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA57
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA57#FFFFFF#000000##000000
##D2EA571.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ea57;
/* rgb */ color: rgb(210, 234, 87);
/* oklch */ color: oklch(89.2% 0.171 117.9);
Tailwind
colors: {
  custom: {
    50: '#e3f08d',
    500: '#d2ea57',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea57;
$custom-light: #e3f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea57",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 87
  },
  "hsl": {
    "h": 69.796,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.892,
    "c": 0.17111,
    "h": 117.9
  },
  "luminance": 0.73235
}

Semantic roles & 50–950 ramp

primary
#D2EA57
secondary
#4934B1
accent
#0BDA2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EA57

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

Preview Lab → · Contrast checker → · Palette generator →

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