#DCC051#DCC051

#DCC051 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.133 H 95.1°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#DCC051
RGBrgb(220, 192, 81)
HSLhsl(48, 67%, 59%)
HSVhsv(48, 63%, 86%)
CMYKcmyk(0%, 12.7%, 63.2%, 13.7%)
CIE-LABlab(78.18, -2.70, 57.98)
CIE-LCHlch(78.18, 58.04, 92.67°)
OKLaboklab(81.1% -0.0117 0.1323)
OKLCHoklch(81.1% 0.133 95.1)
XYZxyz(49.8523, 53.5115, 15.4859)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC051 #516DDC
analogous
#DC7B51 #DCC051 #B2DC51
triadic
#DCC051 #51DCC0 #C051DC
tetradic
#DCC051 #51DC7B #516DDC #DC51B2
square
#DCC051 #51DC7B #516DDC #DC51B2
split-complementary
#DCC051 #51B2DC #7B51DC
monochromatic
#957D1E #C8A828 #DCC051 #E6D284 #F0E5B7

Accessibility & contrast

On white

1.79
#DCC051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#DCC051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC051
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC051#FFFFFF#000000##000000
##DCC0511.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#EDB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc051;
/* rgb */ color: rgb(220, 192, 81);
/* oklch */ color: oklch(81.1% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#ead286',
    500: '#dcc051',
    950: '#000000',
  },
}
SCSS
$custom: #dcc051;
$custom-light: #ead286;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc051",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 81
  },
  "hsl": {
    "h": 47.914,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81099,
    "c": 0.13286,
    "h": 95.1
  },
  "luminance": 0.53509
}

Semantic roles & 50–950 ramp

primary
#DCC051
secondary
#384C99
accent
#61E93E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC051

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

Preview Lab → · Contrast checker → · Palette generator →

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