#D2E759#D2E759

#D2E759 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.6% C 0.166 H 117.0°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#D2E759
RGBrgb(210, 231, 89)
HSLhsl(69, 75%, 63%)
HSVhsv(69, 61%, 91%)
CMYKcmyk(9.1%, 0%, 61.5%, 9.4%)
CIE-LABlab(87.76, -25.71, 64.72)
CIE-LCHlch(87.76, 69.64, 111.67°)
OKLaboklab(88.57% -0.0756 0.148)
OKLCHoklch(88.57% 0.166 117)
XYZxyz(56.9585, 71.5754, 20.2641)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E759 #6E59E7
analogous
#E7B559 #D2E759 #8BE759
triadic
#D2E759 #59D2E7 #E759D2
tetradic
#D2E759 #59E7B5 #6E59E7 #E7598B
square
#D2E759 #59E7B5 #6E59E7 #E7598B
split-complementary
#D2E759 #598BE7 #B559E7
monochromatic
#97AD19 #C4DF24 #D2E759 #E0EF8E #EFF6C4

Accessibility & contrast

On white

1.37
#D2E759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#D2E759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E759
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E759#FFFFFF#000000##000000
##D2E7591.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB48
Deuteranopia (green-blind)
#F4DD63
Tritanopia (blue-blind)
#DEDBC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e759;
/* rgb */ color: rgb(210, 231, 89);
/* oklch */ color: oklch(88.6% 0.166 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ee8e',
    500: '#d2e759',
    950: '#000000',
  },
}
SCSS
$custom: #d2e759;
$custom-light: #e3ee8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e759",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 89
  },
  "hsl": {
    "h": 68.873,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88566,
    "c": 0.16613,
    "h": 117
  },
  "luminance": 0.71575
}

Semantic roles & 50–950 ramp

primary
#D2E759
secondary
#4836AE
accent
#0FD72C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E759

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

Preview Lab → · Contrast checker → · Palette generator →

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