#D9D83C#D9D83C

#D9D83C is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.168 H 109.1°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D9D83C
RGBrgb(217, 216, 60)
HSLhsl(60, 67%, 54%)
HSVhsv(60, 72%, 85%)
CMYKcmyk(0%, 0.5%, 72.4%, 14.9%)
CIE-LABlab(84.07, -17.23, 72.01)
CIE-LCHlch(84.07, 74.05, 103.45°)
OKLaboklab(85.67% -0.055 0.1587)
OKLCHoklch(85.67% 0.168 109.1)
XYZxyz(53.9887, 64.1914, 13.8203)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D83C #3C3DD9
analogous
#D98A3C #D9D83C #8CD93C
triadic
#D9D83C #3CD9D8 #D83CD9
tetradic
#D9D83C #3CD98A #3C3DD9 #D93C8C
square
#D9D83C #3CD98A #3C3DD9 #D93C8C
split-complementary
#D9D83C #3C8CD9 #8A3CD9
monochromatic
#818119 #B5B423 #D9D83C #E3E26F #EDECA2

Accessibility & contrast

On white

1.52
#D9D83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D9D83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D83C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D83C#FFFFFF#000000##000000
##D9D83C1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF1C
Deuteranopia (green-blind)
#ECD448
Tritanopia (blue-blind)
#E8CABA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d83c;
/* rgb */ color: rgb(217, 216, 60);
/* oklch */ color: oklch(85.7% 0.168 109.1);
Tailwind
colors: {
  custom: {
    50: '#e9e37d',
    500: '#d9d83c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d83c;
$custom-light: #e9e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d83c",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 60
  },
  "hsl": {
    "h": 59.618,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85672,
    "c": 0.16794,
    "h": 109.1
  },
  "luminance": 0.6419
}

Semantic roles & 50–950 ramp

primary
#D9D83C
secondary
#313188
accent
#3FEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D83C

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

Preview Lab → · Contrast checker → · Palette generator →

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