#D2E757#D2E757

#D2E757 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.5% C 0.168 H 117.0°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#D2E757
RGBrgb(210, 231, 87)
HSLhsl(69, 75%, 62%)
HSVhsv(69, 62%, 91%)
CMYKcmyk(9.1%, 0%, 62.3%, 9.4%)
CIE-LABlab(87.75, -25.85, 65.51)
CIE-LCHlch(87.75, 70.43, 111.53°)
OKLaboklab(88.55% -0.0761 0.1494)
OKLCHoklch(88.55% 0.168 117)
XYZxyz(56.8757, 71.5422, 19.8278)
Luminance0.7154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E757 #6C57E7
analogous
#E7B457 #D2E757 #8AE757
triadic
#D2E757 #57D2E7 #E757D2
tetradic
#D2E757 #57E7B4 #6C57E7 #E7578A
square
#D2E757 #57E7B4 #6C57E7 #E7578A
split-complementary
#D2E757 #578AE7 #B457E7
monochromatic
#96AB18 #C4DF21 #D2E757 #E0EF8D #EFF6C2

Accessibility & contrast

On white

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

On black

15.31
#D2E757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E757
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E757#FFFFFF#000000##000000
##D2E7571.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e757;
/* rgb */ color: rgb(210, 231, 87);
/* oklch */ color: oklch(88.5% 0.168 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ee8d',
    500: '#d2e757',
    950: '#000000',
  },
}
SCSS
$custom: #d2e757;
$custom-light: #e3ee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e757",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 87
  },
  "hsl": {
    "h": 68.75,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88548,
    "c": 0.16766,
    "h": 117
  },
  "luminance": 0.71542
}

Semantic roles & 50–950 ramp

primary
#D2E757
secondary
#4736AC
accent
#0ED72C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E757

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

Preview Lab → · Contrast checker → · Palette generator →

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