#D9D86B#D9D86B

#D9D86B is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.132 H 108.4°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D9D86B
RGBrgb(217, 216, 107)
HSLhsl(59, 59%, 64%)
HSVhsv(59, 51%, 85%)
CMYKcmyk(0%, 0.5%, 50.7%, 14.9%)
CIE-LABlab(84.45, -14.22, 53.22)
CIE-LCHlch(84.45, 55.09, 104.96°)
OKLaboklab(86.1% -0.0417 0.1253)
OKLCHoklch(86.1% 0.132 108.4)
XYZxyz(55.8263, 64.9264, 23.4983)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D86B #6B6CD9
analogous
#D9A16B #D9D86B #A3D96B
triadic
#D9D86B #6BD9D8 #D86BD9
tetradic
#D9D86B #6BD9A1 #6B6CD9 #D96BA3
square
#D9D86B #6BD9A1 #6B6CD9 #D96BA3
split-complementary
#D9D86B #6BA3D9 #A16BD9
monochromatic
#A09F29 #CCCB3A #D9D86B #E6E59C #F2F2CC

Accessibility & contrast

On white

1.50
#D9D86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D9D86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D86B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D86B#FFFFFF#000000##000000
##D9D86B1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D061
Deuteranopia (green-blind)
#E9D571
Tritanopia (blue-blind)
#E6CCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d86b;
/* rgb */ color: rgb(217, 216, 107);
/* oklch */ color: oklch(86.1% 0.132 108.4);
Tailwind
colors: {
  custom: {
    50: '#e7e398',
    500: '#d9d86b',
    950: '#000000',
  },
}
SCSS
$custom: #d9d86b;
$custom-light: #e7e398;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d86b",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 59.455,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86097,
    "c": 0.132,
    "h": 108.4
  },
  "luminance": 0.64925
}

Semantic roles & 50–950 ramp

primary
#D9D86B
secondary
#4445A4
accent
#20C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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