#DCCB3A#DCCB3A

#DCCB3A is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.157 H 102.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#DCCB3A
RGBrgb(220, 203, 58)
HSLhsl(54, 70%, 55%)
HSVhsv(54, 74%, 86%)
CMYKcmyk(0%, 7.7%, 73.6%, 13.7%)
CIE-LABlab(80.87, -9.56, 69.75)
CIE-LCHlch(80.87, 70.41, 97.80°)
OKLaboklab(83.18% -0.0338 0.1534)
OKLCHoklch(83.18% 0.157 102.4)
XYZxyz(51.6372, 58.2353, 12.5228)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCB3A #3A4BDC
analogous
#DC7A3A #DCCB3A #9CDC3A
triadic
#DCCB3A #3ADCCB #CB3ADC
tetradic
#DCCB3A #3ADC7A #3A4BDC #DC3A9C
square
#DCCB3A #3ADC7A #3A4BDC #DC3A9C
split-complementary
#DCCB3A #3A9CDC #7A3ADC
monochromatic
#847917 #B8A821 #DCCB3A #E5D96E #EEE6A2

Accessibility & contrast

On white

1.66
#DCCB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#DCCB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCB3A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCB3A#FFFFFF#000000##000000
##DCCB3A1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51E
Deuteranopia (green-blind)
#E3CC44
Tritanopia (blue-blind)
#EDBDAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dccb3a;
/* rgb */ color: rgb(220, 203, 58);
/* oklch */ color: oklch(83.2% 0.157 102.4);
Tailwind
colors: {
  custom: {
    50: '#ebda7a',
    500: '#dccb3a',
    950: '#000000',
  },
}
SCSS
$custom: #dccb3a;
$custom-light: #ebda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#dccb3a",
  "rgb": {
    "r": 220,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 53.704,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83182,
    "c": 0.1571,
    "h": 102.4
  },
  "luminance": 0.58233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCCB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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