#D2E451#D2E451

#D2E451 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.8% C 0.169 H 115.9°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D2E451
RGBrgb(210, 228, 81)
HSLhsl(67, 73%, 61%)
HSVhsv(67, 64%, 89%)
CMYKcmyk(7.9%, 0%, 64.5%, 10.6%)
CIE-LABlab(86.89, -24.81, 67.00)
CIE-LCHlch(86.89, 71.44, 110.32°)
OKLaboklab(87.85% -0.0738 0.1517)
OKLCHoklch(87.85% 0.169 115.9)
XYZxyz(55.8082, 69.7833, 18.3126)
Luminance0.6978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E451 #6351E4
analogous
#E4AC51 #D2E451 #88E451
triadic
#D2E451 #51D2E4 #E451D2
tetradic
#D2E451 #51E4AC #6351E4 #E45188
square
#D2E451 #51E4AC #6351E4 #E45188
split-complementary
#D2E451 #5188E4 #AC51E4
monochromatic
#91A219 #C0D721 #D2E451 #E0EC86 #EDF4BB

Accessibility & contrast

On white

1.40
#D2E451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D2E451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E451
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E451#FFFFFF#000000##000000
##D2E4511.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93D
Deuteranopia (green-blind)
#F2DB5B
Tritanopia (blue-blind)
#DFD8C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e451;
/* rgb */ color: rgb(210, 228, 81);
/* oklch */ color: oklch(87.8% 0.169 115.9);
Tailwind
colors: {
  custom: {
    50: '#e3ec89',
    500: '#d2e451',
    950: '#000000',
  },
}
SCSS
$custom: #d2e451;
$custom-light: #e3ec89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e451",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 81
  },
  "hsl": {
    "h": 67.347,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87845,
    "c": 0.16868,
    "h": 115.9
  },
  "luminance": 0.69783
}

Semantic roles & 50–950 ramp

primary
#D2E451
secondary
#4335A4
accent
#10D528
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E451

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

Preview Lab → · Contrast checker → · Palette generator →

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