#DCC54F#DCC54F

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

Color values

HEX#DCC54F
RGBrgb(220, 197, 79)
HSLhsl(50, 67%, 59%)
HSVhsv(50, 64%, 86%)
CMYKcmyk(0%, 10.5%, 64.1%, 13.7%)
CIE-LABlab(79.45, -5.41, 60.21)
CIE-LCHlch(79.45, 60.45, 95.13°)
OKLaboklab(82.1% -0.0197 0.1368)
OKLCHoklch(82.1% 0.138 98.2)
XYZxyz(50.8949, 55.7150, 15.4689)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC54F #4F66DC
analogous
#DC7E4F #DCC54F #ACDC4F
triadic
#DCC54F #4FDCC5 #C54FDC
tetradic
#DCC54F #4FDC7E #4F66DC #DC4FAC
square
#DCC54F #4FDC7E #4F66DC #DC4FAC
split-complementary
#DCC54F #4FACDC #7E4FDC
monochromatic
#93801D #C6AC27 #DCC54F #E6D682 #F0E7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC54F#FFFFFF#000000##000000
##DCC54F1.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)
#D7C041
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#ECB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc54f;
/* rgb */ color: rgb(220, 197, 79);
/* oklch */ color: oklch(82.1% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#ead685',
    500: '#dcc54f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc54f;
$custom-light: #ead685;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc54f",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 50.213,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82103,
    "c": 0.13822,
    "h": 98.2
  },
  "luminance": 0.55713
}

Semantic roles & 50–950 ramp

primary
#DCC54F
secondary
#374798
accent
#5AEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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