#D5E151#D5E151

#D5E151 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.4% C 0.165 H 113.9°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#D5E151
RGBrgb(213, 225, 81)
HSLhsl(65, 71%, 60%)
HSVhsv(65, 64%, 88%)
CMYKcmyk(5.3%, 0%, 64%, 11.8%)
CIE-LABlab(86.30, -22.16, 66.45)
CIE-LCHlch(86.30, 70.05, 108.44°)
OKLaboklab(87.43% -0.0665 0.1505)
OKLCHoklch(87.43% 0.165 113.9)
XYZxyz(55.8524, 68.5917, 18.0803)
Luminance0.6859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E151 #5D51E1
analogous
#E1A551 #D5E151 #8DE151
triadic
#D5E151 #51D5E1 #E151D5
tetradic
#D5E151 #51E1A5 #5D51E1 #E1518D
square
#D5E151 #51E1A5 #5D51E1 #E1518D
split-complementary
#D5E151 #518DE1 #A551E1
monochromatic
#929D1B #C2D124 #D5E151 #E2EA85 #EEF3B9

Accessibility & contrast

On white

1.43
#D5E151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#D5E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E151
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E151#FFFFFF#000000##000000
##D5E1511.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5e151;
/* rgb */ color: rgb(213, 225, 81);
/* oklch */ color: oklch(87.4% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#e5ea89',
    500: '#d5e151',
    950: '#000000',
  },
}
SCSS
$custom: #d5e151;
$custom-light: #e5ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e151",
  "rgb": {
    "r": 213,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 65,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87428,
    "c": 0.16452,
    "h": 113.9
  },
  "luminance": 0.68591
}

Semantic roles & 50–950 ramp

primary
#D5E151
secondary
#3F36A0
accent
#3AED49
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E151

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

Preview Lab → · Contrast checker → · Palette generator →

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