#DCCA55#DCCA55

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

Color values

HEX#DCCA55
RGBrgb(220, 202, 85)
HSLhsl(52, 66%, 60%)
HSVhsv(52, 61%, 86%)
CMYKcmyk(0%, 8.2%, 61.4%, 13.7%)
CIE-LABlab(80.80, -7.59, 59.09)
CIE-LCHlch(80.80, 59.57, 97.32°)
OKLaboklab(83.19% -0.0253 0.1353)
OKLCHoklch(83.19% 0.138 100.6)
XYZxyz(52.2775, 58.1147, 17.0561)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA55 #5567DC
analogous
#DC8755 #DCCA55 #ABDC55
triadic
#DCCA55 #55DCCA #CA55DC
tetradic
#DCCA55 #55DC87 #5567DC #DC55AB
square
#DCCA55 #55DC87 #5567DC #DC55AB
split-complementary
#DCCA55 #55ABDC #8755DC
monochromatic
#97871F #CAB52A #DCCA55 #E6DA88 #F1EABB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCCA55#FFFFFF#000000##000000
##DCCA551.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)
#DCC548
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#ECBDB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcca55;
/* rgb */ color: rgb(220, 202, 85);
/* oklch */ color: oklch(83.2% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#ead989',
    500: '#dcca55',
    950: '#000000',
  },
}
SCSS
$custom: #dcca55;
$custom-light: #ead989;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca55",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 52,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83191,
    "c": 0.13762,
    "h": 100.6
  },
  "luminance": 0.58113
}

Semantic roles & 50–950 ramp

primary
#DCCA55
secondary
#39479C
accent
#56E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCA55

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

Preview Lab → · Contrast checker → · Palette generator →

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