#D9E652#D9E652

#D9E652 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 88.8% C 0.168 H 114.1°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#D9E652
RGBrgb(217, 230, 82)
HSLhsl(65, 75%, 61%)
HSVhsv(65, 64%, 90%)
CMYKcmyk(5.7%, 0%, 64.3%, 9.8%)
CIE-LABlab(87.95, -22.89, 67.87)
CIE-LCHlch(87.95, 71.62, 108.64°)
OKLaboklab(88.82% -0.0687 0.1535)
OKLCHoklch(88.82% 0.168 114.1)
XYZxyz(58.4366, 71.9556, 18.7915)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E652 #5F52E6
analogous
#E6A952 #D9E652 #8FE652
triadic
#D9E652 #52D9E6 #E652D9
tetradic
#D9E652 #52E6A9 #5F52E6 #E6528F
square
#D9E652 #52E6A9 #5F52E6 #E6528F
split-complementary
#D9E652 #528FE6 #A952E6
monochromatic
#99A618 #CBDB20 #D9E652 #E5EE87 #F0F5BD

Accessibility & contrast

On white

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

On black

15.39
#D9E652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E652
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E652#FFFFFF#000000##000000
##D9E6521.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F5DE5C
Tritanopia (blue-blind)
#E7D9C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d9e652;
/* rgb */ color: rgb(217, 230, 82);
/* oklch */ color: oklch(88.8% 0.168 114.1);
Tailwind
colors: {
  custom: {
    50: '#e8ed8a',
    500: '#d9e652',
    950: '#000000',
  },
}
SCSS
$custom: #d9e652;
$custom-light: #e8ed8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e652",
  "rgb": {
    "r": 217,
    "g": 230,
    "b": 82
  },
  "hsl": {
    "h": 65.27,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88822,
    "c": 0.16817,
    "h": 114.1
  },
  "luminance": 0.71955
}

Semantic roles & 50–950 ramp

primary
#D9E652
secondary
#3F34A8
accent
#0FD720
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E652

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

Preview Lab → · Contrast checker → · Palette generator →

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