#DCC351#DCC351

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

Color values

HEX#DCC351
RGBrgb(220, 195, 81)
HSLhsl(49, 67%, 59%)
HSVhsv(49, 63%, 86%)
CMYKcmyk(0%, 11.4%, 63.2%, 13.7%)
CIE-LABlab(78.95, -4.25, 58.81)
CIE-LCHlch(78.95, 58.97, 94.14°)
OKLaboklab(81.71% -0.0162 0.1341)
OKLCHoklch(81.71% 0.135 96.9)
XYZxyz(50.5177, 54.8423, 15.7077)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC351 #516ADC
analogous
#DC7E51 #DCC351 #AFDC51
triadic
#DCC351 #51DCC3 #C351DC
tetradic
#DCC351 #51DC7E #516ADC #DC51AF
square
#DCC351 #51DC7E #516ADC #DC51AF
split-complementary
#DCC351 #51AFDC #7E51DC
monochromatic
#957F1E #C8AB28 #DCC351 #E6D584 #F0E6B7

Accessibility & contrast

On white

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

On black

11.97
#DCC351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC351
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC351#FFFFFF#000000##000000
##DCC3511.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF44
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc351;
/* rgb */ color: rgb(220, 195, 81);
/* oklch */ color: oklch(81.7% 0.135 96.9);
Tailwind
colors: {
  custom: {
    50: '#ead487',
    500: '#dcc351',
    950: '#000000',
  },
}
SCSS
$custom: #dcc351;
$custom-light: #ead487;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc351",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 49.209,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81712,
    "c": 0.13511,
    "h": 96.9
  },
  "luminance": 0.5484
}

Semantic roles & 50–950 ramp

primary
#DCC351
secondary
#384999
accent
#5DE93E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC351

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

Preview Lab → · Contrast checker → · Palette generator →

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