#D5E45A#D5E45A

#D5E45A is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.2% C 0.161 H 115.0°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#D5E45A
RGBrgb(213, 228, 90)
HSLhsl(67, 72%, 62%)
HSVhsv(67, 61%, 89%)
CMYKcmyk(6.6%, 0%, 60.5%, 10.6%)
CIE-LABlab(87.18, -23.01, 63.73)
CIE-LCHlch(87.18, 67.76, 109.85°)
OKLaboklab(88.15% -0.0681 0.146)
OKLCHoklch(88.15% 0.161 115)
XYZxyz(57.0307, 70.3720, 20.2497)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E45A #695AE4
analogous
#E4AE5A #D5E45A #90E45A
triadic
#D5E45A #5AD5E4 #E45AD5
tetradic
#D5E45A #5AE4AE #695AE4 #E45A90
square
#D5E45A #5AE4AE #695AE4 #E45A90
split-complementary
#D5E45A #5A90E4 #AE5AE4
monochromatic
#99A81C #C8DB25 #D5E45A #E2ED8F #F0F5C3

Accessibility & contrast

On white

1.39
#D5E45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#D5E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E45A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E45A#FFFFFF#000000##000000
##D5E45A1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D94A
Deuteranopia (green-blind)
#F2DC63
Tritanopia (blue-blind)
#E2D8C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d5e45a;
/* rgb */ color: rgb(213, 228, 90);
/* oklch */ color: oklch(88.2% 0.161 115.0);
Tailwind
colors: {
  custom: {
    50: '#e5ec8e',
    500: '#d5e45a',
    950: '#000000',
  },
}
SCSS
$custom: #d5e45a;
$custom-light: #e5ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e45a",
  "rgb": {
    "r": 213,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 66.522,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88154,
    "c": 0.16104,
    "h": 115
  },
  "luminance": 0.70371
}

Semantic roles & 50–950 ramp

primary
#D5E45A
secondary
#4538AA
accent
#12D427
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D5E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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