#D9E671#D9E671

#D9E671 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.1% C 0.142 H 114.6°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#D9E671
RGBrgb(217, 230, 113)
HSLhsl(67, 70%, 67%)
HSVhsv(67, 51%, 90%)
CMYKcmyk(5.7%, 0%, 50.9%, 9.8%)
CIE-LABlab(88.23, -20.59, 54.89)
CIE-LCHlch(88.23, 58.62, 110.56°)
OKLaboklab(89.14% -0.0592 0.1294)
OKLCHoklch(89.14% 0.142 114.6)
XYZxyz(59.8937, 72.5385, 26.4657)
Luminance0.7254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E671 #7E71E6
analogous
#E6B971 #D9E671 #9EE671
triadic
#D9E671 #71D9E6 #E671D9
tetradic
#D9E671 #71E6B9 #7E71E6 #E6719E
square
#D9E671 #71E6B9 #7E71E6 #E6719E
split-complementary
#D9E671 #719EE6 #B971E6
monochromatic
#AABC21 #CBDD3D #D9E671 #E7EFA5 #F5F8D9

Accessibility & contrast

On white

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

On black

15.51
#D9E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E671
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E671#FFFFFF#000000##000000
##D9E6711.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F3DF77
Tritanopia (blue-blind)
#E5DBCC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d9e671;
/* rgb */ color: rgb(217, 230, 113);
/* oklch */ color: oklch(89.1% 0.142 114.6);
Tailwind
colors: {
  custom: {
    50: '#e7ed9d',
    500: '#d9e671',
    950: '#000000',
  },
}
SCSS
$custom: #d9e671;
$custom-light: #e7ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e671",
  "rgb": {
    "r": 217,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 66.667,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89136,
    "c": 0.14232,
    "h": 114.6
  },
  "luminance": 0.72538
}

Semantic roles & 50–950 ramp

primary
#D9E671
secondary
#4E40BB
accent
#13D229
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D9E671

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

Preview Lab → · Contrast checker → · Palette generator →

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