#DCC34E#DCC34E

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

Color values

HEX#DCC34E
RGBrgb(220, 195, 78)
HSLhsl(49, 67%, 58%)
HSVhsv(49, 65%, 86%)
CMYKcmyk(0%, 11.4%, 64.5%, 13.7%)
CIE-LABlab(78.92, -4.44, 60.08)
CIE-LCHlch(78.92, 60.24, 94.22°)
OKLaboklab(81.68% -0.0171 0.1364)
OKLCHoklch(81.68% 0.137 97.1)
XYZxyz(50.4077, 54.7983, 15.1282)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC34E #4E67DC
analogous
#DC7C4E #DCC34E #AEDC4E
triadic
#DCC34E #4EDCC3 #C34EDC
tetradic
#DCC34E #4EDC7C #4E67DC #DC4EAE
square
#DCC34E #4EDC7C #4E67DC #DC4EAE
split-complementary
#DCC34E #4EAEDC #7C4EDC
monochromatic
#937E1D #C6AA27 #DCC34E #E6D481 #F0E6B4

Accessibility & contrast

On white

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

On black

11.96
#DCC34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC34E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC34E#FFFFFF#000000##000000
##DCC34E1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc34e;
/* rgb */ color: rgb(220, 195, 78);
/* oklch */ color: oklch(81.7% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#ead485',
    500: '#dcc34e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc34e;
$custom-light: #ead485;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc34e",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 49.437,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.13743,
    "h": 97.1
  },
  "luminance": 0.54796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC34E

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

Preview Lab → · Contrast checker → · Palette generator →

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