#D2E959#D2E959

#D2E959 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.0% C 0.168 H 117.7°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#D2E959
RGBrgb(210, 233, 89)
HSLhsl(70, 77%, 63%)
HSVhsv(70, 62%, 91%)
CMYKcmyk(9.9%, 0%, 61.8%, 8.6%)
CIE-LABlab(88.31, -26.66, 65.30)
CIE-LCHlch(88.31, 70.53, 112.21°)
OKLaboklab(89% -0.0782 0.1492)
OKLCHoklch(89% 0.168 117.7)
XYZxyz(57.5215, 72.7013, 20.4518)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E959 #7059E9
analogous
#E9B859 #D2E959 #8AE959
triadic
#D2E959 #59D2E9 #E959D2
tetradic
#D2E959 #59E9B8 #7059E9 #E9598A
square
#D2E959 #59E9B8 #7059E9 #E9598A
split-complementary
#D2E959 #598AE9 #B859E9
monochromatic
#98B017 #C3E223 #D2E959 #E1F08F #EFF7C5

Accessibility & contrast

On white

1.35
#D2E959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#D2E959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E959
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E959#FFFFFF#000000##000000
##D2E9591.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD47
Deuteranopia (green-blind)
#F5DE63
Tritanopia (blue-blind)
#DEDDCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2e959;
/* rgb */ color: rgb(210, 233, 89);
/* oklch */ color: oklch(89.0% 0.168 117.7);
Tailwind
colors: {
  custom: {
    50: '#e3f08e',
    500: '#d2e959',
    950: '#000000',
  },
}
SCSS
$custom: #d2e959;
$custom-light: #e3f08e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e959",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 69.583,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89,
    "c": 0.16844,
    "h": 117.7
  },
  "luminance": 0.72701
}

Semantic roles & 50–950 ramp

primary
#D2E959
secondary
#4935B1
accent
#0DD92D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E959

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

Preview Lab → · Contrast checker → · Palette generator →

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