#DCC05B#DCC05B

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

Color values

HEX#DCC05B
RGBrgb(220, 192, 91)
HSLhsl(47, 65%, 61%)
HSVhsv(47, 59%, 86%)
CMYKcmyk(0%, 12.7%, 58.6%, 13.7%)
CIE-LABlab(78.27, -2.03, 53.57)
CIE-LCHlch(78.27, 53.61, 92.17°)
OKLaboklab(81.21% -0.0086 0.1243)
OKLCHoklch(81.21% 0.125 94)
XYZxyz(50.2553, 53.6727, 17.6083)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC05B #5B77DC
analogous
#DC7F5B #DCC05B #B7DC5B
triadic
#DCC05B #5BDCC0 #C05BDC
tetradic
#DCC05B #5BDC7F #5B77DC #DC5BB7
square
#DCC05B #5BDC7F #5B77DC #DC5BB7
split-complementary
#DCC05B #5BB7DC #7F5BDC
monochromatic
#9B8121 #CEAB2C #DCC05B #E7D38D #F2E7C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC05B#FFFFFF#000000##000000
##DCC05B1.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)
#D2BD51
Deuteranopia (green-blind)
#D9C55F
Tritanopia (blue-blind)
#ECB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc05b;
/* rgb */ color: rgb(220, 192, 91);
/* oklch */ color: oklch(81.2% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#ead28d',
    500: '#dcc05b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc05b;
$custom-light: #ead28d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc05b",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 46.977,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81205,
    "c": 0.12456,
    "h": 94
  },
  "luminance": 0.5367
}

Semantic roles & 50–950 ramp

primary
#DCC05B
secondary
#3C519F
accent
#40CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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