#DCCA54#DCCA54

#DCCA54 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.138 H 100.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#DCCA54
RGBrgb(220, 202, 84)
HSLhsl(52, 66%, 60%)
HSVhsv(52, 62%, 86%)
CMYKcmyk(0%, 8.2%, 61.8%, 13.7%)
CIE-LABlab(80.79, -7.65, 59.51)
CIE-LCHlch(80.79, 60.00, 97.33°)
OKLaboklab(83.18% -0.0256 0.136)
OKLCHoklch(83.18% 0.138 100.7)
XYZxyz(52.2380, 58.0990, 16.8484)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA54 #5466DC
analogous
#DC8654 #DCCA54 #AADC54
triadic
#DCCA54 #54DCCA #CA54DC
tetradic
#DCCA54 #54DC86 #5466DC #DC54AA
square
#DCCA54 #54DC86 #5466DC #DC54AA
split-complementary
#DCCA54 #54AADC #8654DC
monochromatic
#97871F #CAB429 #DCCA54 #E6DA87 #F1E9BA

Accessibility & contrast

On white

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

On black

12.62
#DCCA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA54
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA54#FFFFFF#000000##000000
##DCCA541.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC446
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#ECBDB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcca54;
/* rgb */ color: rgb(220, 202, 84);
/* oklch */ color: oklch(83.2% 0.138 100.7);
Tailwind
colors: {
  custom: {
    50: '#ead989',
    500: '#dcca54',
    950: '#000000',
  },
}
SCSS
$custom: #dcca54;
$custom-light: #ead989;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca54",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 52.059,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83181,
    "c": 0.13842,
    "h": 100.7
  },
  "luminance": 0.58097
}

Semantic roles & 50–950 ramp

primary
#DCCA54
secondary
#39469B
accent
#55E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCA54

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

Preview Lab → · Contrast checker → · Palette generator →

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