#D8C059#D8C059

#D8C059 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.126 H 96.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#D8C059
RGBrgb(216, 192, 89)
HSLhsl(49, 62%, 60%)
HSVhsv(49, 59%, 85%)
CMYKcmyk(0%, 11.1%, 58.8%, 15.3%)
CIE-LABlab(77.89, -3.84, 53.96)
CIE-LCHlch(77.89, 54.10, 94.07°)
OKLaboklab(80.81% -0.0138 0.1249)
OKLCHoklch(80.81% 0.126 96.3)
XYZxyz(48.9737, 53.0217, 17.1038)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C059 #5971D8
analogous
#D88059 #D8C059 #B1D859
triadic
#D8C059 #59D8C0 #C059D8
tetradic
#D8C059 #59D880 #5971D8 #D859B1
square
#D8C059 #59D880 #5971D8 #D859B1
split-complementary
#D8C059 #59B1D8 #8059D8
monochromatic
#947E23 #C5A92E #D8C059 #E4D38B #EFE6BC

Accessibility & contrast

On white

1.81
#D8C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#D8C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C059
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C059#FFFFFF#000000##000000
##D8C0591.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8c059;
/* rgb */ color: rgb(216, 192, 89);
/* oklch */ color: oklch(80.8% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#e7d28b',
    500: '#d8c059',
    950: '#000000',
  },
}
SCSS
$custom: #d8c059;
$custom-light: #e7d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c059",
  "rgb": {
    "r": 216,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 48.661,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8081,
    "c": 0.1257,
    "h": 96.3
  },
  "luminance": 0.53019
}

Semantic roles & 50–950 ramp

primary
#D8C059
secondary
#3C4E99
accent
#61E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C059

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

Preview Lab → · Contrast checker → · Palette generator →

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