#DCC054#DCC054

#DCC054 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.130 H 94.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#DCC054
RGBrgb(220, 192, 84)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 62%, 86%)
CMYKcmyk(0%, 12.7%, 61.8%, 13.7%)
CIE-LABlab(78.20, -2.51, 56.68)
CIE-LCHlch(78.20, 56.73, 92.53°)
OKLaboklab(81.13% -0.0108 0.13)
OKLCHoklch(81.13% 0.13 94.8)
XYZxyz(49.9673, 53.5575, 16.0915)
Luminance0.5355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC054 #5470DC
analogous
#DC7C54 #DCC054 #B4DC54
triadic
#DCC054 #54DCC0 #C054DC
tetradic
#DCC054 #54DC7C #5470DC #DC54B4
square
#DCC054 #54DC7C #5470DC #DC54B4
split-complementary
#DCC054 #54B4DC #7C54DC
monochromatic
#977E1F #CAA929 #DCC054 #E6D387 #F1E5BA

Accessibility & contrast

On white

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

On black

11.71
#DCC054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC054
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC054#FFFFFF#000000##000000
##DCC0541.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC48
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#ECB2A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc054;
/* rgb */ color: rgb(220, 192, 84);
/* oklch */ color: oklch(81.1% 0.130 94.8);
Tailwind
colors: {
  custom: {
    50: '#ead288',
    500: '#dcc054',
    950: '#000000',
  },
}
SCSS
$custom: #dcc054;
$custom-light: #ead288;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc054",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 47.647,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81129,
    "c": 0.13045,
    "h": 94.8
  },
  "luminance": 0.53555
}

Semantic roles & 50–950 ramp

primary
#DCC054
secondary
#394D9B
accent
#62E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC054

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

Preview Lab → · Contrast checker → · Palette generator →

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