#DCC34F#DCC34F

#DCC34F 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#DCC34F
RGBrgb(220, 195, 79)
HSLhsl(49, 67%, 59%)
HSVhsv(49, 64%, 86%)
CMYKcmyk(0%, 11.4%, 64.1%, 13.7%)
CIE-LABlab(78.93, -4.38, 59.66)
CIE-LCHlch(78.93, 59.82, 94.20°)
OKLaboklab(81.69% -0.0168 0.1356)
OKLCHoklch(81.69% 0.137 97.1)
XYZxyz(50.4438, 54.8128, 15.3185)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC34F #4F68DC
analogous
#DC7C4F #DCC34F #AEDC4F
triadic
#DCC34F #4FDCC3 #C34FDC
tetradic
#DCC34F #4FDC7C #4F68DC #DC4FAE
square
#DCC34F #4FDC7C #4F68DC #DC4FAE
split-complementary
#DCC34F #4FAEDC #7C4FDC
monochromatic
#937E1D #C6AA27 #DCC34F #E6D482 #F0E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC34F#FFFFFF#000000##000000
##DCC34F1.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)
#D5BF41
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#ECB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc34f;
/* rgb */ color: rgb(220, 195, 79);
/* oklch */ color: oklch(81.7% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#ead485',
    500: '#dcc34f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc34f;
$custom-light: #ead485;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc34f",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 79
  },
  "hsl": {
    "h": 49.362,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81693,
    "c": 0.13666,
    "h": 97.1
  },
  "luminance": 0.5481
}

Semantic roles & 50–950 ramp

primary
#DCC34F
secondary
#374898
accent
#5DEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC34F

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

Preview Lab → · Contrast checker → · Palette generator →

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