#DCC55F#DCC55F

#DCC55F is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.125 H 96.8°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#DCC55F
RGBrgb(220, 197, 95)
HSLhsl(49, 64%, 62%)
HSVhsv(49, 57%, 86%)
CMYKcmyk(0%, 10.5%, 56.8%, 13.7%)
CIE-LABlab(79.60, -4.32, 53.24)
CIE-LCHlch(79.60, 53.41, 94.64°)
OKLaboklab(82.27% -0.0148 0.124)
OKLCHoklch(82.27% 0.125 96.8)
XYZxyz(51.5490, 55.9766, 18.9135)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC55F #5F76DC
analogous
#DC875F #DCC55F #B5DC5F
triadic
#DCC55F #5FDCC5 #C55FDC
tetradic
#DCC55F #5FDC87 #5F76DC #DC5FB5
square
#DCC55F #5FDC87 #5F76DC #DC5FB5
split-complementary
#DCC55F #5FB5DC #875FDC
monochromatic
#9E8723 #D0B22E #DCC55F #E7D791 #F2E9C3

Accessibility & contrast

On white

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

On black

12.19
#DCC55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC55F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC55F#FFFFFF#000000##000000
##DCC55F1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc55f;
/* rgb */ color: rgb(220, 197, 95);
/* oklch */ color: oklch(82.3% 0.125 96.8);
Tailwind
colors: {
  custom: {
    50: '#ead68f',
    500: '#dcc55f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc55f;
$custom-light: #ead68f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc55f",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 48.96,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8227,
    "c": 0.12488,
    "h": 96.8
  },
  "luminance": 0.55974
}

Semantic roles & 50–950 ramp

primary
#DCC55F
secondary
#3E50A2
accent
#3ACC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC55F

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

Preview Lab → · Contrast checker → · Palette generator →

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