#D5E351#D5E351

#D5E351 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 87.9% C 0.167 H 114.5°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#D5E351
RGBrgb(213, 227, 81)
HSLhsl(66, 72%, 60%)
HSVhsv(66, 64%, 89%)
CMYKcmyk(6.2%, 0%, 64.3%, 11%)
CIE-LABlab(86.84, -23.12, 67.01)
CIE-LCHlch(86.84, 70.89, 109.03°)
OKLaboklab(87.86% -0.0692 0.1516)
OKLCHoklch(87.86% 0.167 114.5)
XYZxyz(56.3963, 69.6794, 18.2616)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E351 #5F51E3
analogous
#E3A851 #D5E351 #8CE351
triadic
#D5E351 #51D5E3 #E351D5
tetradic
#D5E351 #51E3A8 #5F51E3 #E3518C
square
#D5E351 #51E3A8 #5F51E3 #E3518C
split-complementary
#D5E351 #518CE3 #A851E3
monochromatic
#93A01A #C3D522 #D5E351 #E2EB86 #EEF4BA

Accessibility & contrast

On white

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

On black

14.94
#D5E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E351
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E351#FFFFFF#000000##000000
##D5E3511.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D83D
Deuteranopia (green-blind)
#F2DB5B
Tritanopia (blue-blind)
#E2D6C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d5e351;
/* rgb */ color: rgb(213, 227, 81);
/* oklch */ color: oklch(87.9% 0.167 114.5);
Tailwind
colors: {
  custom: {
    50: '#e5eb89',
    500: '#d5e351',
    950: '#000000',
  },
}
SCSS
$custom: #d5e351;
$custom-light: #e5eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e351",
  "rgb": {
    "r": 213,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 65.753,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87859,
    "c": 0.1667,
    "h": 114.5
  },
  "luminance": 0.69678
}

Semantic roles & 50–950 ramp

primary
#D5E351
secondary
#4035A3
accent
#11D424
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E351

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

Preview Lab → · Contrast checker → · Palette generator →

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