#DCC35D#DCC35D

#DCC35D is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.8% C 0.125 H 95.7°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DCC35D
RGBrgb(220, 195, 93)
HSLhsl(48, 64%, 61%)
HSVhsv(48, 58%, 86%)
CMYKcmyk(0%, 11.4%, 57.7%, 13.7%)
CIE-LABlab(79.06, -3.43, 53.55)
CIE-LCHlch(79.06, 53.66, 93.67°)
OKLaboklab(81.84% -0.0124 0.1245)
OKLCHoklch(81.84% 0.125 95.7)
XYZxyz(51.0081, 55.0385, 18.2905)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC35D #5D76DC
analogous
#DC845D #DCC35D #B6DC5D
triadic
#DCC35D #5DDCC3 #C35DDC
tetradic
#DCC35D #5DDC84 #5D76DC #DC5DB6
square
#DCC35D #5DDC84 #5D76DC #DC5DB6
split-complementary
#DCC35D #5DB6DC #845DDC
monochromatic
#9D8522 #CFAF2D #DCC35D #E7D68F #F2E8C2

Accessibility & contrast

On white

1.75
#DCC35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#DCC35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC35D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC35D#FFFFFF#000000##000000
##DCC35D1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF53
Deuteranopia (green-blind)
#DBC762
Tritanopia (blue-blind)
#ECB6AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc35d;
/* rgb */ color: rgb(220, 195, 93);
/* oklch */ color: oklch(81.8% 0.125 95.7);
Tailwind
colors: {
  custom: {
    50: '#ead48e',
    500: '#dcc35d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc35d;
$custom-light: #ead48e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc35d",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 93
  },
  "hsl": {
    "h": 48.189,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81838,
    "c": 0.12507,
    "h": 95.7
  },
  "luminance": 0.55036
}

Semantic roles & 50–950 ramp

primary
#DCC35D
secondary
#3D50A1
accent
#3CCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC35D

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

Preview Lab → · Contrast checker → · Palette generator →

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