#D5E852#D5E852

#D5E852 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 88.9% C 0.172 H 116.2°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#D5E852
RGBrgb(213, 232, 82)
HSLhsl(68, 77%, 62%)
HSVhsv(68, 65%, 91%)
CMYKcmyk(8.2%, 0%, 64.7%, 9%)
CIE-LABlab(88.19, -25.45, 68.03)
CIE-LCHlch(88.19, 72.64, 110.51°)
OKLaboklab(88.95% -0.0757 0.1539)
OKLCHoklch(88.95% 0.172 116.2)
XYZxyz(57.8215, 72.4693, 18.9230)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E852 #6552E8
analogous
#E8B052 #D5E852 #8AE852
triadic
#D5E852 #52D5E8 #E852D5
tetradic
#D5E852 #52E8B0 #6552E8 #E8528A
square
#D5E852 #52E8B0 #6552E8 #E8528A
split-complementary
#D5E852 #528AE8 #B052E8
monochromatic
#97A916 #C7DF1E #D5E852 #E2EF88 #EFF6BE

Accessibility & contrast

On white

1.36
#D5E852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#D5E852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E852
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E852#FFFFFF#000000##000000
##D5E8521.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3D
Deuteranopia (green-blind)
#F6DE5D
Tritanopia (blue-blind)
#E2DBC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d5e852;
/* rgb */ color: rgb(213, 232, 82);
/* oklch */ color: oklch(88.9% 0.172 116.2);
Tailwind
colors: {
  custom: {
    50: '#e5ef8a',
    500: '#d5e852',
    950: '#000000',
  },
}
SCSS
$custom: #d5e852;
$custom-light: #e5ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e852",
  "rgb": {
    "r": 213,
    "g": 232,
    "b": 82
  },
  "hsl": {
    "h": 67.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88947,
    "c": 0.17153,
    "h": 116.2
  },
  "luminance": 0.72469
}

Semantic roles & 50–950 ramp

primary
#D5E852
secondary
#4334AB
accent
#0DD927
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D5E852

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

Preview Lab → · Contrast checker → · Palette generator →

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