#D2E758#D2E758

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

Color values

HEX#D2E758
RGBrgb(210, 231, 88)
HSLhsl(69, 75%, 63%)
HSVhsv(69, 62%, 91%)
CMYKcmyk(9.1%, 0%, 61.9%, 9.4%)
CIE-LABlab(87.76, -25.78, 65.12)
CIE-LCHlch(87.76, 70.03, 111.60°)
OKLaboklab(88.56% -0.0758 0.1487)
OKLCHoklch(88.56% 0.167 117)
XYZxyz(56.9168, 71.5587, 20.0445)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E758 #6D58E7
analogous
#E7B458 #D2E758 #8BE758
triadic
#D2E758 #58D2E7 #E758D2
tetradic
#D2E758 #58E7B4 #6D58E7 #E7588B
square
#D2E758 #58E7B4 #6D58E7 #E7588B
split-complementary
#D2E758 #588BE7 #B458E7
monochromatic
#96AC19 #C4DF22 #D2E758 #E0EF8E #EFF6C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E758#FFFFFF#000000##000000
##D2E7581.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)
#F6DB46
Deuteranopia (green-blind)
#F4DD62
Tritanopia (blue-blind)
#DEDBC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e758;
/* rgb */ color: rgb(210, 231, 88);
/* oklch */ color: oklch(88.6% 0.167 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ee8d',
    500: '#d2e758',
    950: '#000000',
  },
}
SCSS
$custom: #d2e758;
$custom-light: #e3ee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e758",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 88
  },
  "hsl": {
    "h": 68.811,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88557,
    "c": 0.1669,
    "h": 117
  },
  "luminance": 0.71558
}

Semantic roles & 50–950 ramp

primary
#D2E758
secondary
#4836AD
accent
#0ED72C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E758

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

Preview Lab → · Contrast checker → · Palette generator →

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