#D9E172#D9E172

#D9E172 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.1% C 0.135 H 112.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D9E172
RGBrgb(217, 225, 114)
HSLhsl(64, 65%, 66%)
HSVhsv(64, 49%, 88%)
CMYKcmyk(3.6%, 0%, 49.3%, 11.8%)
CIE-LABlab(86.91, -18.06, 52.86)
CIE-LCHlch(86.91, 55.86, 108.87°)
OKLaboklab(88.09% -0.0519 0.1251)
OKLCHoklch(88.09% 0.135 112.5)
XYZxyz(58.5788, 69.8181, 26.3067)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E172 #7A72E1
analogous
#E1B272 #D9E172 #A2E172
triadic
#D9E172 #72D9E1 #E172D9
tetradic
#D9E172 #72E1B2 #7A72E1 #E172A2
square
#D9E172 #72E1B2 #7A72E1 #E172A2
split-complementary
#D9E172 #72A2E1 #B272E1
monochromatic
#A8B326 #CBD640 #D9E172 #E7ECA4 #F4F6D7

Accessibility & contrast

On white

1.40
#D9E172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D9E172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E172
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E172#FFFFFF#000000##000000
##D9E1721.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD868
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#E5D6C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9e172;
/* rgb */ color: rgb(217, 225, 114);
/* oklch */ color: oklch(88.1% 0.135 112.5);
Tailwind
colors: {
  custom: {
    50: '#e7ea9d',
    500: '#d9e172',
    950: '#000000',
  },
}
SCSS
$custom: #d9e172;
$custom-light: #e7ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e172",
  "rgb": {
    "r": 217,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 64.324,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88085,
    "c": 0.13544,
    "h": 112.5
  },
  "luminance": 0.69817
}

Semantic roles & 50–950 ramp

primary
#D9E172
secondary
#4C43B4
accent
#19CD26
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D9E172

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

Preview Lab → · Contrast checker → · Palette generator →

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