#D9E152#D9E152

#D9E152 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.8% C 0.163 H 112.4°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#D9E152
RGBrgb(217, 225, 82)
HSLhsl(63, 70%, 60%)
HSVhsv(63, 64%, 88%)
CMYKcmyk(3.6%, 0%, 63.6%, 11.8%)
CIE-LABlab(86.61, -20.47, 66.47)
CIE-LCHlch(86.61, 69.55, 107.12°)
OKLaboklab(87.75% -0.0619 0.1506)
OKLCHoklch(87.75% 0.163 112.4)
XYZxyz(57.0651, 69.2126, 18.3343)
Luminance0.6921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E152 #5A52E1
analogous
#E1A252 #D9E152 #91E152
triadic
#D9E152 #52D9E1 #E152D9
tetradic
#D9E152 #52E1A2 #5A52E1 #E15291
square
#D9E152 #52E1A2 #5A52E1 #E15291
split-complementary
#D9E152 #5291E1 #A252E1
monochromatic
#969D1B #C8D124 #D9E152 #E4EA86 #F0F3BA

Accessibility & contrast

On white

1.41
#D9E152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#D9E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E152
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E152#FFFFFF#000000##000000
##D9E1521.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#E7D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d9e152;
/* rgb */ color: rgb(217, 225, 82);
/* oklch */ color: oklch(87.8% 0.163 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8ea89',
    500: '#d9e152',
    950: '#000000',
  },
}
SCSS
$custom: #d9e152;
$custom-light: #e8ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e152",
  "rgb": {
    "r": 217,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 63.357,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87751,
    "c": 0.1628,
    "h": 112.4
  },
  "luminance": 0.69211
}

Semantic roles & 50–950 ramp

primary
#D9E152
secondary
#3C37A1
accent
#13D21E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E152

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

Preview Lab → · Contrast checker → · Palette generator →

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