#DCCA3A#DCCA3A

#DCCA3A is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.156 H 101.9°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#DCCA3A
RGBrgb(220, 202, 58)
HSLhsl(53, 70%, 55%)
HSVhsv(53, 74%, 86%)
CMYKcmyk(0%, 8.2%, 73.6%, 13.7%)
CIE-LABlab(80.61, -9.05, 69.51)
CIE-LCHlch(80.61, 70.09, 97.42°)
OKLaboklab(82.97% -0.0323 0.1529)
OKLCHoklch(82.97% 0.156 101.9)
XYZxyz(51.4018, 57.7645, 12.4443)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA3A #3A4CDC
analogous
#DC793A #DCCA3A #9DDC3A
triadic
#DCCA3A #3ADCCA #CA3ADC
tetradic
#DCCA3A #3ADC79 #3A4CDC #DC3A9D
square
#DCCA3A #3ADC79 #3A4CDC #DC3A9D
split-complementary
#DCCA3A #3A9DDC #793ADC
monochromatic
#847817 #B8A721 #DCCA3A #E5D86E #EEE6A2

Accessibility & contrast

On white

1.67
#DCCA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#DCCA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA3A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA3A#FFFFFF#000000##000000
##DCCA3A1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41E
Deuteranopia (green-blind)
#E2CB44
Tritanopia (blue-blind)
#EDBBAE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcca3a;
/* rgb */ color: rgb(220, 202, 58);
/* oklch */ color: oklch(83.0% 0.156 101.9);
Tailwind
colors: {
  custom: {
    50: '#ebd97a',
    500: '#dcca3a',
    950: '#000000',
  },
}
SCSS
$custom: #dcca3a;
$custom-light: #ebd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca3a",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 53.333,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82974,
    "c": 0.15629,
    "h": 101.9
  },
  "luminance": 0.57762
}

Semantic roles & 50–950 ramp

primary
#DCCA3A
secondary
#303A8B
accent
#4FED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCCA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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