#DCC54D#DCC54D

#DCC54D 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.14:1 contrast (WCAG AA passes).

Color values

HEX#DCC54D
RGBrgb(220, 197, 77)
HSLhsl(50, 67%, 58%)
HSVhsv(50, 65%, 86%)
CMYKcmyk(0%, 10.5%, 65%, 13.7%)
CIE-LABlab(79.43, -5.53, 61.04)
CIE-LCHlch(79.43, 61.29, 95.17°)
OKLaboklab(82.09% -0.0203 0.1383)
OKLCHoklch(82.09% 0.14 98.4)
XYZxyz(50.8232, 55.6863, 15.0912)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC54D #4D64DC
analogous
#DC7D4D #DCC54D #ABDC4D
triadic
#DCC54D #4DDCC5 #C54DDC
tetradic
#DCC54D #4DDC7D #4D64DC #DC4DAB
square
#DCC54D #4DDC7D #4D64DC #DC4DAB
split-complementary
#DCC54D #4DABDC #7D4DDC
monochromatic
#927F1D #C5AC27 #DCC54D #E6D680 #F0E6B3

Accessibility & contrast

On white

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

On black

12.14
#DCC54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC54D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC54D#FFFFFF#000000##000000
##DCC54D1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc54d;
/* rgb */ color: rgb(220, 197, 77);
/* oklch */ color: oklch(82.1% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#ead684',
    500: '#dcc54d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc54d;
$custom-light: #ead684;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc54d",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 50.35,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82085,
    "c": 0.13974,
    "h": 98.4
  },
  "luminance": 0.55684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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