#D5E954#D5E954

#D5E954 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.2% C 0.171 H 116.5°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#D5E954
RGBrgb(213, 233, 84)
HSLhsl(68, 77%, 62%)
HSVhsv(68, 64%, 91%)
CMYKcmyk(8.6%, 0%, 63.9%, 8.6%)
CIE-LABlab(88.48, -25.80, 67.55)
CIE-LCHlch(88.48, 72.31, 110.90°)
OKLaboklab(89.18% -0.0764 0.1532)
OKLCHoklch(89.18% 0.171 116.5)
XYZxyz(58.1810, 73.0648, 19.4237)
Luminance0.7306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E954 #6854E9
analogous
#E9B354 #D5E954 #8AE954
triadic
#D5E954 #54D5E9 #E954D5
tetradic
#D5E954 #54E9B3 #6854E9 #E9548A
square
#D5E954 #54E9B3 #6854E9 #E9548A
split-complementary
#D5E954 #548AE9 #B354E9
monochromatic
#98AC16 #C8E21E #D5E954 #E2F08A #F0F7C0

Accessibility & contrast

On white

1.35
#D5E954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#D5E954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E954
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E954#FFFFFF#000000##000000
##D5E9541.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD40
Deuteranopia (green-blind)
#F6DF5E
Tritanopia (blue-blind)
#E2DDCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d5e954;
/* rgb */ color: rgb(213, 233, 84);
/* oklch */ color: oklch(89.2% 0.171 116.5);
Tailwind
colors: {
  custom: {
    50: '#e5f08b',
    500: '#d5e954',
    950: '#000000',
  },
}
SCSS
$custom: #d5e954;
$custom-light: #e5f08b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e954",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 84
  },
  "hsl": {
    "h": 68.054,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8918,
    "c": 0.17121,
    "h": 116.5
  },
  "luminance": 0.73064
}

Semantic roles & 50–950 ramp

primary
#D5E954
secondary
#4434AD
accent
#0CD928
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D5E954

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

Preview Lab → · Contrast checker → · Palette generator →

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