#D5E45C#D5E45C

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

Color values

HEX#D5E45C
RGBrgb(213, 228, 92)
HSLhsl(67, 72%, 63%)
HSVhsv(67, 60%, 89%)
CMYKcmyk(6.6%, 0%, 59.6%, 10.6%)
CIE-LABlab(87.20, -22.87, 62.92)
CIE-LCHlch(87.20, 66.94, 109.98°)
OKLaboklab(88.17% -0.0675 0.1445)
OKLCHoklch(88.17% 0.159 115)
XYZxyz(57.1170, 70.4065, 20.7041)
Luminance0.7041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E45C #6B5CE4
analogous
#E4AF5C #D5E45C #91E45C
triadic
#D5E45C #5CD5E4 #E45CD5
tetradic
#D5E45C #5CE4AF #6B5CE4 #E45C91
square
#D5E45C #5CE4AF #6B5CE4 #E45C91
split-complementary
#D5E45C #5C91E4 #AF5CE4
monochromatic
#9AAA1C #C7DB27 #D5E45C #E3ED91 #F0F5C5

Accessibility & contrast

On white

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

On black

15.08
#D5E45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E45C
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E45C#FFFFFF#000000##000000
##D5E45C1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5e45c;
/* rgb */ color: rgb(213, 228, 92);
/* oklch */ color: oklch(88.2% 0.159 115.0);
Tailwind
colors: {
  custom: {
    50: '#e5ec8f',
    500: '#d5e45c',
    950: '#000000',
  },
}
SCSS
$custom: #d5e45c;
$custom-light: #e5ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e45c",
  "rgb": {
    "r": 213,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 66.618,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88173,
    "c": 0.15944,
    "h": 115
  },
  "luminance": 0.70406
}

Semantic roles & 50–950 ramp

primary
#D5E45C
secondary
#4639AB
accent
#12D427
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D5E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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