#D2E351#D2E351

#D2E351 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.6% C 0.168 H 115.6°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#D2E351
RGBrgb(210, 227, 81)
HSLhsl(67, 72%, 60%)
HSVhsv(67, 64%, 89%)
CMYKcmyk(7.5%, 0%, 64.3%, 11%)
CIE-LABlab(86.62, -24.33, 66.72)
CIE-LCHlch(86.62, 71.01, 110.03°)
OKLaboklab(87.63% -0.0724 0.1511)
OKLCHoklch(87.63% 0.168 115.6)
XYZxyz(55.5339, 69.2347, 18.2211)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E351 #6251E3
analogous
#E3AB51 #D2E351 #89E351
triadic
#D2E351 #51D2E3 #E351D2
tetradic
#D2E351 #51E3AB #6251E3 #E35189
square
#D2E351 #51E3AB #6251E3 #E35189
split-complementary
#D2E351 #5189E3 #AB51E3
monochromatic
#90A01A #C0D522 #D2E351 #E0EB86 #EDF4BA

Accessibility & contrast

On white

1.41
#D2E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#D2E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E351
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E351#FFFFFF#000000##000000
##D2E3511.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83D
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#DFD7C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d2e351;
/* rgb */ color: rgb(210, 227, 81);
/* oklch */ color: oklch(87.6% 0.168 115.6);
Tailwind
colors: {
  custom: {
    50: '#e3eb89',
    500: '#d2e351',
    950: '#000000',
  },
}
SCSS
$custom: #d2e351;
$custom-light: #e3eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e351",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 66.986,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87629,
    "c": 0.16756,
    "h": 115.6
  },
  "luminance": 0.69234
}

Semantic roles & 50–950 ramp

primary
#D2E351
secondary
#4235A3
accent
#11D428
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E351

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

Preview Lab → · Contrast checker → · Palette generator →

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