#DCC05F#DCC05F

#DCC05F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.3% C 0.121 H 93.5°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#DCC05F
RGBrgb(220, 192, 95)
HSLhsl(47, 64%, 62%)
HSVhsv(47, 57%, 86%)
CMYKcmyk(0%, 12.7%, 56.8%, 13.7%)
CIE-LABlab(78.31, -1.73, 51.75)
CIE-LCHlch(78.31, 51.78, 91.91°)
OKLaboklab(81.25% -0.0073 0.1208)
OKLCHoklch(81.25% 0.121 93.5)
XYZxyz(50.4325, 53.7436, 18.5413)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC05F #5F7BDC
analogous
#DC825F #DCC05F #BADC5F
triadic
#DCC05F #5FDCC0 #C05FDC
tetradic
#DCC05F #5FDC82 #5F7BDC #DC5FBA
square
#DCC05F #5FDC82 #5F7BDC #DC5FBA
split-complementary
#DCC05F #5FBADC #825FDC
monochromatic
#9E8223 #D0AC2E #DCC05F #E7D491 #F2E8C3

Accessibility & contrast

On white

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

On black

11.75
#DCC05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC05F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC05F#FFFFFF#000000##000000
##DCC05F1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc05f;
/* rgb */ color: rgb(220, 192, 95);
/* oklch */ color: oklch(81.3% 0.121 93.5);
Tailwind
colors: {
  custom: {
    50: '#ead28f',
    500: '#dcc05f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc05f;
$custom-light: #ead28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc05f",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 46.56,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81251,
    "c": 0.12102,
    "h": 93.5
  },
  "luminance": 0.53741
}

Semantic roles & 50–950 ramp

primary
#DCC05F
secondary
#3E54A2
accent
#42CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC05F

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

Preview Lab → · Contrast checker → · Palette generator →

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