#DCC059#DCC059

#DCC059 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.2% C 0.126 H 94.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#DCC059
RGBrgb(220, 192, 89)
HSLhsl(47, 65%, 61%)
HSVhsv(47, 60%, 86%)
CMYKcmyk(0%, 12.7%, 59.5%, 13.7%)
CIE-LABlab(78.25, -2.17, 54.47)
CIE-LCHlch(78.25, 54.51, 92.28°)
OKLaboklab(81.18% -0.0093 0.1259)
OKLCHoklch(81.18% 0.126 94.2)
XYZxyz(50.1702, 53.6386, 17.1599)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC059 #5975DC
analogous
#DC7F59 #DCC059 #B6DC59
triadic
#DCC059 #59DCC0 #C059DC
tetradic
#DCC059 #59DC7F #5975DC #DC59B6
square
#DCC059 #59DC7F #5975DC #DC59B6
split-complementary
#DCC059 #59B6DC #7F59DC
monochromatic
#9A8020 #CDAA2B #DCC059 #E7D38C #F1E6BE

Accessibility & contrast

On white

1.79
#DCC059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#DCC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC059
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC059#FFFFFF#000000##000000
##DCC0591.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4E
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#ECB3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc059;
/* rgb */ color: rgb(220, 192, 89);
/* oklch */ color: oklch(81.2% 0.126 94.2);
Tailwind
colors: {
  custom: {
    50: '#ead28b',
    500: '#dcc059',
    950: '#000000',
  },
}
SCSS
$custom: #dcc059;
$custom-light: #ead28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc059",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 47.176,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81182,
    "c": 0.12628,
    "h": 94.2
  },
  "luminance": 0.53636
}

Semantic roles & 50–950 ramp

primary
#DCC059
secondary
#3B509E
accent
#3FCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC059

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

Preview Lab → · Contrast checker → · Palette generator →

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