#DCC05C#DCC05C

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

Color values

HEX#DCC05C
RGBrgb(220, 192, 92)
HSLhsl(47, 65%, 61%)
HSVhsv(47, 58%, 86%)
CMYKcmyk(0%, 12.7%, 58.2%, 13.7%)
CIE-LABlab(78.28, -1.95, 53.12)
CIE-LCHlch(78.28, 53.16, 92.11°)
OKLaboklab(81.22% -0.0083 0.1234)
OKLCHoklch(81.22% 0.124 93.8)
XYZxyz(50.2987, 53.6901, 17.8370)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC05C #5C78DC
analogous
#DC805C #DCC05C #B8DC5C
triadic
#DCC05C #5CDCC0 #C05CDC
tetradic
#DCC05C #5CDC80 #5C78DC #DC5CB8
square
#DCC05C #5CDC80 #5C78DC #DC5CB8
split-complementary
#DCC05C #5CB8DC #805CDC
monochromatic
#9C8122 #CEAB2C #DCC05C #E7D38E #F2E7C1

Accessibility & contrast

On white

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

On black

11.74
#DCC05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC05C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC05C#FFFFFF#000000##000000
##DCC05C1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD52
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#ECB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc05c;
/* rgb */ color: rgb(220, 192, 92);
/* oklch */ color: oklch(81.2% 0.124 93.8);
Tailwind
colors: {
  custom: {
    50: '#ead28d',
    500: '#dcc05c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc05c;
$custom-light: #ead28d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc05c",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 46.875,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.12368,
    "h": 93.8
  },
  "luminance": 0.53688
}

Semantic roles & 50–950 ramp

primary
#DCC05C
secondary
#3C52A0
accent
#40CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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