#DCC55C#DCC55C

#DCC55C is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.128 H 97.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#DCC55C
RGBrgb(220, 197, 92)
HSLhsl(49, 65%, 61%)
HSVhsv(49, 58%, 86%)
CMYKcmyk(0%, 10.5%, 58.2%, 13.7%)
CIE-LABlab(79.57, -4.54, 54.59)
CIE-LCHlch(79.57, 54.77, 94.75°)
OKLaboklab(82.24% -0.0157 0.1266)
OKLCHoklch(82.24% 0.128 97.1)
XYZxyz(51.4153, 55.9231, 18.2091)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC55C #5C73DC
analogous
#DC855C #DCC55C #B3DC5C
triadic
#DCC55C #5CDCC5 #C55CDC
tetradic
#DCC55C #5CDC85 #5C73DC #DC5CB3
square
#DCC55C #5CDC85 #5C73DC #DC5CB3
split-complementary
#DCC55C #5CB3DC #855CDC
monochromatic
#9C8622 #CEB12C #DCC55C #E7D78E #F2E9C1

Accessibility & contrast

On white

1.72
#DCC55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#DCC55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC55C
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC55C#FFFFFF#000000##000000
##DCC55C1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C151
Deuteranopia (green-blind)
#DCC961
Tritanopia (blue-blind)
#ECB8AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc55c;
/* rgb */ color: rgb(220, 197, 92);
/* oklch */ color: oklch(82.2% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#ead68e',
    500: '#dcc55c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc55c;
$custom-light: #ead68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc55c",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 92
  },
  "hsl": {
    "h": 49.219,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82236,
    "c": 0.12754,
    "h": 97.1
  },
  "luminance": 0.55921
}

Semantic roles & 50–950 ramp

primary
#DCC55C
secondary
#3C4EA0
accent
#39CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC55C

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

Preview Lab → · Contrast checker → · Palette generator →

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