#D4E351#D4E351

#D4E351 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 87.8% C 0.167 H 114.9°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#D4E351
RGBrgb(212, 227, 81)
HSLhsl(66, 72%, 60%)
HSVhsv(66, 64%, 89%)
CMYKcmyk(6.6%, 0%, 64.3%, 11%)
CIE-LABlab(86.77, -23.52, 66.91)
CIE-LCHlch(86.77, 70.93, 109.37°)
OKLaboklab(87.78% -0.0703 0.1515)
OKLCHoklch(87.78% 0.167 114.9)
XYZxyz(56.1070, 69.5302, 18.2480)
Luminance0.6953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E351 #6051E3
analogous
#E3A951 #D4E351 #8BE351
triadic
#D4E351 #51D4E3 #E351D4
tetradic
#D4E351 #51E3A9 #6051E3 #E3518B
square
#D4E351 #51E3A9 #6051E3 #E3518B
split-complementary
#D4E351 #518BE3 #A951E3
monochromatic
#92A01A #C2D522 #D4E351 #E1EB86 #EEF4BA

Accessibility & contrast

On white

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

On black

14.91
#D4E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E351
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E351#FFFFFF#000000##000000
##D4E3511.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e351;
/* rgb */ color: rgb(212, 227, 81);
/* oklch */ color: oklch(87.8% 0.167 114.9);
Tailwind
colors: {
  custom: {
    50: '#e4eb89',
    500: '#d4e351',
    950: '#000000',
  },
}
SCSS
$custom: #d4e351;
$custom-light: #e4eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e351",
  "rgb": {
    "r": 212,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 66.164,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87782,
    "c": 0.16698,
    "h": 114.9
  },
  "luminance": 0.69529
}

Semantic roles & 50–950 ramp

primary
#D4E351
secondary
#4135A3
accent
#11D425
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E351

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

Preview Lab → · Contrast checker → · Palette generator →

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