#DCCA5B#DCCA5B

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

Color values

HEX#DCCA5B
RGBrgb(220, 202, 91)
HSLhsl(52, 65%, 61%)
HSVhsv(52, 59%, 86%)
CMYKcmyk(0%, 8.2%, 58.6%, 13.7%)
CIE-LABlab(80.86, -7.18, 56.49)
CIE-LCHlch(80.86, 56.95, 97.24°)
OKLaboklab(83.25% -0.0234 0.1305)
OKLCHoklch(83.25% 0.133 100.2)
XYZxyz(52.5260, 58.2142, 18.3652)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA5B #5B6DDC
analogous
#DC895B #DCCA5B #ADDC5B
triadic
#DCCA5B #5BDCCA #CA5BDC
tetradic
#DCCA5B #5BDC89 #5B6DDC #DC5BAD
square
#DCCA5B #5BDC89 #5B6DDC #DC5BAD
split-complementary
#DCCA5B #5BADDC #895BDC
monochromatic
#9B8A21 #CEB72C #DCCA5B #E7DA8D #F2EBC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCCA5B#FFFFFF#000000##000000
##DCCA5B1.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)
#DBC54F
Deuteranopia (green-blind)
#E0CC61
Tritanopia (blue-blind)
#EBBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcca5b;
/* rgb */ color: rgb(220, 202, 91);
/* oklch */ color: oklch(83.3% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#ead98d',
    500: '#dcca5b',
    950: '#000000',
  },
}
SCSS
$custom: #dcca5b;
$custom-light: #ead98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca5b",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 51.628,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83253,
    "c": 0.13261,
    "h": 100.2
  },
  "luminance": 0.58212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCCA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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