#D5EC5A#D5EC5A

#D5EC5A is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 89.9% C 0.170 H 117.6°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#D5EC5A
RGBrgb(213, 236, 90)
HSLhsl(69, 79%, 64%)
HSVhsv(69, 62%, 93%)
CMYKcmyk(9.7%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.33, -26.83, 66.06)
CIE-LCHlch(89.33, 71.30, 112.10°)
OKLaboklab(89.88% -0.0787 0.1509)
OKLCHoklch(89.88% 0.17 117.6)
XYZxyz(59.2826, 74.8758, 21.0003)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5EC5A #715AEC
analogous
#ECBA5A #D5EC5A #8CEC5A
triadic
#D5EC5A #5AD5EC #EC5AD5
tetradic
#D5EC5A #5AECBA #715AEC #EC5A8C
square
#D5EC5A #5AECBA #715AEC #EC5A8C
split-complementary
#D5EC5A #5A8CEC #BA5AEC
monochromatic
#9DB715 #C7E623 #D5EC5A #E3F291 #F1F9C8

Accessibility & contrast

On white

1.31
#D5EC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#D5EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5EC5A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5EC5A#FFFFFF#000000##000000
##D5EC5A1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#F9E164
Tritanopia (blue-blind)
#E1E0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d5ec5a;
/* rgb */ color: rgb(213, 236, 90);
/* oklch */ color: oklch(89.9% 0.170 117.6);
Tailwind
colors: {
  custom: {
    50: '#e5f28f',
    500: '#d5ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d5ec5a;
$custom-light: #e5f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ec5a",
  "rgb": {
    "r": 213,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 69.452,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89882,
    "c": 0.17018,
    "h": 117.6
  },
  "luminance": 0.74875
}

Semantic roles & 50–950 ramp

primary
#D5EC5A
secondary
#4934B6
accent
#0ADC2B
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D5EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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