#DCC05D#DCC05D

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

Color values

HEX#DCC05D
RGBrgb(220, 192, 93)
HSLhsl(47, 64%, 61%)
HSVhsv(47, 58%, 86%)
CMYKcmyk(0%, 12.7%, 57.7%, 13.7%)
CIE-LABlab(78.29, -1.88, 52.67)
CIE-LCHlch(78.29, 52.70, 92.04°)
OKLaboklab(81.23% -0.008 0.1225)
OKLCHoklch(81.23% 0.123 93.7)
XYZxyz(50.3427, 53.7077, 18.0687)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC05D #5D79DC
analogous
#DC815D #DCC05D #B9DC5D
triadic
#DCC05D #5DDCC0 #C05DDC
tetradic
#DCC05D #5DDC81 #5D79DC #DC5DB9
square
#DCC05D #5DDC81 #5D79DC #DC5DB9
split-complementary
#DCC05D #5DB9DC #815DDC
monochromatic
#9D8222 #CFAB2D #DCC05D #E7D48F #F2E7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC05D#FFFFFF#000000##000000
##DCC05D1.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)
#D2BD53
Deuteranopia (green-blind)
#D9C561
Tritanopia (blue-blind)
#ECB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc05d;
/* rgb */ color: rgb(220, 192, 93);
/* oklch */ color: oklch(81.2% 0.123 93.7);
Tailwind
colors: {
  custom: {
    50: '#ead28e',
    500: '#dcc05d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc05d;
$custom-light: #ead28e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc05d",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 46.772,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81227,
    "c": 0.1228,
    "h": 93.7
  },
  "luminance": 0.53705
}

Semantic roles & 50–950 ramp

primary
#DCC05D
secondary
#3D53A1
accent
#41CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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