#DCCC3A#DCCC3A

#DCCC3A is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.158 H 102.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#DCCC3A
RGBrgb(220, 204, 58)
HSLhsl(54, 70%, 55%)
HSVhsv(54, 74%, 86%)
CMYKcmyk(0%, 7.3%, 73.6%, 13.7%)
CIE-LABlab(81.13, -10.06, 70.00)
CIE-LCHlch(81.13, 70.72, 98.18°)
OKLaboklab(83.39% -0.0352 0.154)
OKLCHoklch(83.39% 0.158 102.9)
XYZxyz(51.8741, 58.7091, 12.6017)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC3A #3A4ADC
analogous
#DC7B3A #DCCC3A #9BDC3A
triadic
#DCCC3A #3ADCCC #CC3ADC
tetradic
#DCCC3A #3ADC7B #3A4ADC #DC3A9B
square
#DCCC3A #3ADC7B #3A4ADC #DC3A9B
split-complementary
#DCCC3A #3A9BDC #7B3ADC
monochromatic
#847917 #B8A921 #DCCC3A #E5D96E #EEE7A2

Accessibility & contrast

On white

1.65
#DCCC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#DCCC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC3A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC3A#FFFFFF#000000##000000
##DCCC3A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC51E
Deuteranopia (green-blind)
#E4CD44
Tritanopia (blue-blind)
#EDBEB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dccc3a;
/* rgb */ color: rgb(220, 204, 58);
/* oklch */ color: oklch(83.4% 0.158 102.9);
Tailwind
colors: {
  custom: {
    50: '#ebdb7b',
    500: '#dccc3a',
    950: '#000000',
  },
}
SCSS
$custom: #dccc3a;
$custom-light: #ebdb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc3a",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 54.074,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8339,
    "c": 0.15793,
    "h": 102.9
  },
  "luminance": 0.58707
}

Semantic roles & 50–950 ramp

primary
#DCCC3A
secondary
#30398B
accent
#4DED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCCC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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