#D2E251#D2E251

#D2E251 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.4% C 0.166 H 115.3°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#D2E251
RGBrgb(210, 226, 81)
HSLhsl(67, 71%, 60%)
HSVhsv(67, 64%, 89%)
CMYKcmyk(7.1%, 0%, 64.2%, 11.4%)
CIE-LABlab(86.35, -23.85, 66.44)
CIE-LCHlch(86.35, 70.59, 109.75°)
OKLaboklab(87.41% -0.0711 0.1505)
OKLCHoklch(87.41% 0.166 115.3)
XYZxyz(55.2612, 68.6893, 18.1302)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E251 #6151E2
analogous
#E2AA51 #D2E251 #89E251
triadic
#D2E251 #51D2E2 #E251D2
tetradic
#D2E251 #51E2AA #6151E2 #E25189
square
#D2E251 #51E2AA #6151E2 #E25189
split-complementary
#D2E251 #5189E2 #AA51E2
monochromatic
#909E1A #BFD323 #D2E251 #E0EB85 #EDF3BA

Accessibility & contrast

On white

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

On black

14.74
#D2E251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E251
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E251#FFFFFF#000000##000000
##D2E2511.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73E
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#DFD6C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e251;
/* rgb */ color: rgb(210, 226, 81);
/* oklch */ color: oklch(87.4% 0.166 115.3);
Tailwind
colors: {
  custom: {
    50: '#e3eb89',
    500: '#d2e251',
    950: '#000000',
  },
}
SCSS
$custom: #d2e251;
$custom-light: #e3eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e251",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 66.621,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87412,
    "c": 0.16645,
    "h": 115.3
  },
  "luminance": 0.68688
}

Semantic roles & 50–950 ramp

primary
#D2E251
secondary
#4236A1
accent
#12D327
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E251

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

Preview Lab → · Contrast checker → · Palette generator →

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