#DCC34C#DCC34C

#DCC34C is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.139 H 97.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#DCC34C
RGBrgb(220, 195, 76)
HSLhsl(50, 67%, 58%)
HSVhsv(50, 65%, 86%)
CMYKcmyk(0%, 11.4%, 65.5%, 13.7%)
CIE-LABlab(78.91, -4.56, 60.90)
CIE-LCHlch(78.91, 61.07, 94.28°)
OKLaboklab(81.67% -0.0177 0.1378)
OKLCHoklch(81.67% 0.139 97.3)
XYZxyz(50.3371, 54.7701, 14.7563)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC34C #4C65DC
analogous
#DC7B4C #DCC34C #ADDC4C
triadic
#DCC34C #4CDCC3 #C34CDC
tetradic
#DCC34C #4CDC7B #4C65DC #DC4CAD
square
#DCC34C #4CDC7B #4C65DC #DC4CAD
split-complementary
#DCC34C #4CADDC #7B4CDC
monochromatic
#917D1C #C4A926 #DCC34C #E6D47F #F0E5B2

Accessibility & contrast

On white

1.76
#DCC34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#DCC34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC34C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC34C#FFFFFF#000000##000000
##DCC34C1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF3D
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#EDB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc34c;
/* rgb */ color: rgb(220, 195, 76);
/* oklch */ color: oklch(81.7% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#ead484',
    500: '#dcc34c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc34c;
$custom-light: #ead484;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc34c",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 76
  },
  "hsl": {
    "h": 49.583,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81666,
    "c": 0.13894,
    "h": 97.3
  },
  "luminance": 0.54768
}

Semantic roles & 50–950 ramp

primary
#DCC34C
secondary
#364796
accent
#5CEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC34C

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

Preview Lab → · Contrast checker → · Palette generator →

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