#DCCA5A#DCCA5A

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

Color values

HEX#DCCA5A
RGBrgb(220, 202, 90)
HSLhsl(52, 65%, 61%)
HSVhsv(52, 59%, 86%)
CMYKcmyk(0%, 8.2%, 59.1%, 13.7%)
CIE-LABlab(80.85, -7.25, 56.93)
CIE-LCHlch(80.85, 57.39, 97.25°)
OKLaboklab(83.24% -0.0237 0.1313)
OKLCHoklch(83.24% 0.133 100.3)
XYZxyz(52.4832, 58.1970, 18.1395)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA5A #5A6CDC
analogous
#DC895A #DCCA5A #ADDC5A
triadic
#DCCA5A #5ADCCA #CA5ADC
tetradic
#DCCA5A #5ADC89 #5A6CDC #DC5AAD
square
#DCCA5A #5ADC89 #5A6CDC #DC5AAD
split-complementary
#DCCA5A #5AADDC #895ADC
monochromatic
#9B8A21 #CDB72C #DCCA5A #E7DA8C #F1EABF

Accessibility & contrast

On white

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

On black

12.64
#DCCA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA5A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA5A#FFFFFF#000000##000000
##DCCA5A1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54E
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#ECBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcca5a;
/* rgb */ color: rgb(220, 202, 90);
/* oklch */ color: oklch(83.2% 0.133 100.3);
Tailwind
colors: {
  custom: {
    50: '#ead98d',
    500: '#dcca5a',
    950: '#000000',
  },
}
SCSS
$custom: #dcca5a;
$custom-light: #ead98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca5a",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 51.692,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83242,
    "c": 0.13346,
    "h": 100.3
  },
  "luminance": 0.58195
}

Semantic roles & 50–950 ramp

primary
#DCCA5A
secondary
#3B499F
accent
#32CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCCA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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