#D2E457#D2E457

#D2E457 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 87.9% C 0.164 H 116.0°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#D2E457
RGBrgb(210, 228, 87)
HSLhsl(68, 72%, 62%)
HSVhsv(68, 62%, 89%)
CMYKcmyk(7.9%, 0%, 61.8%, 10.6%)
CIE-LABlab(86.94, -24.42, 64.65)
CIE-LCHlch(86.94, 69.10, 110.69°)
OKLaboklab(87.9% -0.0721 0.1475)
OKLCHoklch(87.9% 0.164 116)
XYZxyz(56.0432, 69.8773, 19.5503)
Luminance0.6988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E457 #6957E4
analogous
#E4B057 #D2E457 #8BE457
triadic
#D2E457 #57D2E4 #E457D2
tetradic
#D2E457 #57E4B0 #6957E4 #E4578B
square
#D2E457 #57E4B0 #6957E4 #E4578B
split-complementary
#D2E457 #578BE4 #B057E4
monochromatic
#94A61B #C3DB23 #D2E457 #E0EC8C #EEF5C0

Accessibility & contrast

On white

1.40
#D2E457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#D2E457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E457
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E457#FFFFFF#000000##000000
##D2E4571.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D946
Deuteranopia (green-blind)
#F1DB60
Tritanopia (blue-blind)
#DED8C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e457;
/* rgb */ color: rgb(210, 228, 87);
/* oklch */ color: oklch(87.9% 0.164 116.0);
Tailwind
colors: {
  custom: {
    50: '#e3ec8c',
    500: '#d2e457',
    950: '#000000',
  },
}
SCSS
$custom: #d2e457;
$custom-light: #e3ec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e457",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 67.66,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87897,
    "c": 0.16423,
    "h": 116
  },
  "luminance": 0.69877
}

Semantic roles & 50–950 ramp

primary
#D2E457
secondary
#4637A8
accent
#11D42A
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E457

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

Preview Lab → · Contrast checker → · Palette generator →

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