#D2E258#D2E258

#D2E258 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.5% C 0.161 H 115.4°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#D2E258
RGBrgb(210, 226, 88)
HSLhsl(67, 70%, 62%)
HSVhsv(67, 61%, 89%)
CMYKcmyk(7.1%, 0%, 61.1%, 11.4%)
CIE-LABlab(86.40, -23.39, 63.66)
CIE-LCHlch(86.40, 67.82, 110.17°)
OKLaboklab(87.47% -0.0691 0.1456)
OKLCHoklch(87.47% 0.161 115.4)
XYZxyz(55.5374, 68.7998, 19.5846)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E258 #6858E2
analogous
#E2AD58 #D2E258 #8DE258
triadic
#D2E258 #58D2E2 #E258D2
tetradic
#D2E258 #58E2AD #6858E2 #E2588D
square
#D2E258 #58E2AD #6858E2 #E2588D
split-complementary
#D2E258 #588DE2 #AD58E2
monochromatic
#94A31C #C3D725 #D2E258 #E0EB8C #EEF4C0

Accessibility & contrast

On white

1.42
#D2E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#D2E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E258
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E258#FFFFFF#000000##000000
##D2E2581.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D747
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#DED6C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e258;
/* rgb */ color: rgb(210, 226, 88);
/* oklch */ color: oklch(87.5% 0.161 115.4);
Tailwind
colors: {
  custom: {
    50: '#e3eb8d',
    500: '#d2e258',
    950: '#000000',
  },
}
SCSS
$custom: #d2e258;
$custom-light: #e3eb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e258",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 66.957,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87474,
    "c": 0.16118,
    "h": 115.4
  },
  "luminance": 0.68799
}

Semantic roles & 50–950 ramp

primary
#D2E258
secondary
#4538A6
accent
#13D229
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E258

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

Preview Lab → · Contrast checker → · Palette generator →

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