#D9C059#D9C059

#D9C059 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.126 H 95.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D9C059
RGBrgb(217, 192, 89)
HSLhsl(48, 63%, 60%)
HSVhsv(48, 59%, 85%)
CMYKcmyk(0%, 11.5%, 59%, 14.9%)
CIE-LABlab(77.98, -3.42, 54.09)
CIE-LCHlch(77.98, 54.20, 93.62°)
OKLaboklab(80.9% -0.0127 0.1252)
OKLCHoklch(80.9% 0.126 95.8)
XYZxyz(49.2701, 53.1745, 17.1177)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C059 #5972D9
analogous
#D98059 #D9C059 #B2D959
triadic
#D9C059 #59D9C0 #C059D9
tetradic
#D9C059 #59D980 #5972D9 #D959B2
square
#D9C059 #59D980 #5972D9 #D959B2
split-complementary
#D9C059 #59B2D9 #8059D9
monochromatic
#957F22 #C7A92E #D9C059 #E4D38B #F0E6BD

Accessibility & contrast

On white

1.80
#D9C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D9C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C059
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C059#FFFFFF#000000##000000
##D9C0591.001.8011.6311.63
#FFFFFF1.801.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#E9B3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c059;
/* rgb */ color: rgb(217, 192, 89);
/* oklch */ color: oklch(80.9% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#e8d28b',
    500: '#d9c059',
    950: '#000000',
  },
}
SCSS
$custom: #d9c059;
$custom-light: #e8d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c059",
  "rgb": {
    "r": 217,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 48.281,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.80903,
    "c": 0.12583,
    "h": 95.8
  },
  "luminance": 0.53172
}

Semantic roles & 50–950 ramp

primary
#D9C059
secondary
#3C4E9A
accent
#62E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C059

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

Preview Lab → · Contrast checker → · Palette generator →

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