#DCC54C#DCC54C

#DCC54C is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.1% C 0.140 H 98.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#DCC54C
RGBrgb(220, 197, 76)
HSLhsl(50, 67%, 58%)
HSVhsv(50, 65%, 86%)
CMYKcmyk(0%, 10.5%, 65.5%, 13.7%)
CIE-LABlab(79.43, -5.59, 61.45)
CIE-LCHlch(79.43, 61.70, 95.19°)
OKLaboklab(82.08% -0.0206 0.139)
OKLCHoklch(82.08% 0.14 98.4)
XYZxyz(50.7882, 55.6723, 14.9067)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC54C #4C63DC
analogous
#DC7D4C #DCC54C #ABDC4C
triadic
#DCC54C #4CDCC5 #C54CDC
tetradic
#DCC54C #4CDC7D #4C63DC #DC4CAB
square
#DCC54C #4CDC7D #4C63DC #DC4CAB
split-complementary
#DCC54C #4CABDC #7D4CDC
monochromatic
#917F1C #C4AB26 #DCC54C #E6D67F #F0E6B2

Accessibility & contrast

On white

1.73
#DCC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#DCC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC54C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC54C#FFFFFF#000000##000000
##DCC54C1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03D
Deuteranopia (green-blind)
#DEC853
Tritanopia (blue-blind)
#ECB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc54c;
/* rgb */ color: rgb(220, 197, 76);
/* oklch */ color: oklch(82.1% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#ead684',
    500: '#dcc54c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc54c;
$custom-light: #ead684;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc54c",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 50.417,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82076,
    "c": 0.14048,
    "h": 98.4
  },
  "luminance": 0.5567
}

Semantic roles & 50–950 ramp

primary
#DCC54C
secondary
#364596
accent
#59EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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