#DCC159#DCC159

#DCC159 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.127 H 94.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DCC159
RGBrgb(220, 193, 89)
HSLhsl(48, 65%, 61%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 12.3%, 59.5%, 13.7%)
CIE-LABlab(78.51, -2.69, 54.76)
CIE-LCHlch(78.51, 54.83, 92.81°)
OKLaboklab(81.39% -0.0108 0.1266)
OKLCHoklch(81.39% 0.127 94.9)
XYZxyz(50.3905, 54.0793, 17.2334)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC159 #5974DC
analogous
#DC8059 #DCC159 #B5DC59
triadic
#DCC159 #59DCC1 #C159DC
tetradic
#DCC159 #59DC80 #5974DC #DC59B5
square
#DCC159 #59DC80 #5974DC #DC59B5
split-complementary
#DCC159 #59B5DC #8059DC
monochromatic
#9A8120 #CDAB2B #DCC159 #E7D48C #F1E7BE

Accessibility & contrast

On white

1.78
#DCC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DCC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC159
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC159#FFFFFF#000000##000000
##DCC1591.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4E
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#ECB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc159;
/* rgb */ color: rgb(220, 193, 89);
/* oklch */ color: oklch(81.4% 0.127 94.9);
Tailwind
colors: {
  custom: {
    50: '#ead38b',
    500: '#dcc159',
    950: '#000000',
  },
}
SCSS
$custom: #dcc159;
$custom-light: #ead38b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc159",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 47.634,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81386,
    "c": 0.12702,
    "h": 94.9
  },
  "luminance": 0.54077
}

Semantic roles & 50–950 ramp

primary
#DCC159
secondary
#3B4F9E
accent
#3ECD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC159

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

Preview Lab → · Contrast checker → · Palette generator →

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