#D9E952#D9E952

#D9E952 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.5% C 0.171 H 115.1°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#D9E952
RGBrgb(217, 233, 82)
HSLhsl(66, 77%, 62%)
HSVhsv(66, 65%, 91%)
CMYKcmyk(6.9%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.75, -24.32, 68.70)
CIE-LCHlch(88.75, 72.88, 109.50°)
OKLaboklab(89.47% -0.0727 0.1553)
OKLCHoklch(89.47% 0.171 115.1)
XYZxyz(59.2786, 73.6397, 19.0721)
Luminance0.7364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E952 #6252E9
analogous
#E9AE52 #D9E952 #8DE952
triadic
#D9E952 #52D9E9 #E952D9
tetradic
#D9E952 #52E9AE #6252E9 #E9528D
square
#D9E952 #52E9AE #6252E9 #E9528D
split-complementary
#D9E952 #528DE9 #AE52E9
monochromatic
#9BAB16 #CCE11D #D9E952 #E5F088 #F1F7BF

Accessibility & contrast

On white

1.34
#D9E952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#D9E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E952
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E952#FFFFFF#000000##000000
##D9E9521.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3D
Deuteranopia (green-blind)
#F8E05D
Tritanopia (blue-blind)
#E6DCCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d9e952;
/* rgb */ color: rgb(217, 233, 82);
/* oklch */ color: oklch(89.5% 0.171 115.1);
Tailwind
colors: {
  custom: {
    50: '#e8ef8a',
    500: '#d9e952',
    950: '#000000',
  },
}
SCSS
$custom: #d9e952;
$custom-light: #e8ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e952",
  "rgb": {
    "r": 217,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 66.358,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89467,
    "c": 0.17145,
    "h": 115.1
  },
  "luminance": 0.73639
}

Semantic roles & 50–950 ramp

primary
#D9E952
secondary
#4033AC
accent
#0CDA22
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9E952

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

Preview Lab → · Contrast checker → · Palette generator →

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