#D5E952#D5E952

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

Color values

HEX#D5E952
RGBrgb(213, 233, 82)
HSLhsl(68, 77%, 62%)
HSVhsv(68, 65%, 91%)
CMYKcmyk(8.6%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.46, -25.92, 68.31)
CIE-LCHlch(88.46, 73.07, 110.78°)
OKLaboklab(89.16% -0.077 0.1545)
OKLCHoklch(89.16% 0.173 116.5)
XYZxyz(58.1038, 73.0339, 19.0171)
Luminance0.7303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E952 #6652E9
analogous
#E9B252 #D5E952 #8AE952
triadic
#D5E952 #52D5E9 #E952D5
tetradic
#D5E952 #52E9B2 #6652E9 #E9528A
square
#D5E952 #52E9B2 #6652E9 #E9528A
split-complementary
#D5E952 #528AE9 #B252E9
monochromatic
#97AB16 #C7E11D #D5E952 #E2F088 #EFF7BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5E952#FFFFFF#000000##000000
##D5E9521.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)
#F8DD3D
Deuteranopia (green-blind)
#F7DF5D
Tritanopia (blue-blind)
#E2DCCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d5e952;
/* rgb */ color: rgb(213, 233, 82);
/* oklch */ color: oklch(89.2% 0.173 116.5);
Tailwind
colors: {
  custom: {
    50: '#e5f08a',
    500: '#d5e952',
    950: '#000000',
  },
}
SCSS
$custom: #d5e952;
$custom-light: #e5f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e952",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 67.947,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89164,
    "c": 0.17264,
    "h": 116.5
  },
  "luminance": 0.73033
}

Semantic roles & 50–950 ramp

primary
#D5E952
secondary
#4333AC
accent
#0CDA27
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D5E952

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

Preview Lab → · Contrast checker → · Palette generator →

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