#DCCA56#DCCA56

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

Color values

HEX#DCCA56
RGBrgb(220, 202, 86)
HSLhsl(52, 66%, 60%)
HSVhsv(52, 61%, 86%)
CMYKcmyk(0%, 8.2%, 60.9%, 13.7%)
CIE-LABlab(80.81, -7.52, 58.66)
CIE-LCHlch(80.81, 59.14, 97.31°)
OKLaboklab(83.2% -0.025 0.1345)
OKLCHoklch(83.2% 0.137 100.5)
XYZxyz(52.3175, 58.1308, 17.2669)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA56 #5668DC
analogous
#DC8756 #DCCA56 #ABDC56
triadic
#DCCA56 #56DCCA #CA56DC
tetradic
#DCCA56 #56DC87 #5668DC #DC56AB
square
#DCCA56 #56DC87 #5668DC #DC56AB
split-complementary
#DCCA56 #56ABDC #8756DC
monochromatic
#988820 #CBB52A #DCCA56 #E6DA89 #F1EABB

Accessibility & contrast

On white

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

On black

12.63
#DCCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA56
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA56#FFFFFF#000000##000000
##DCCA561.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcca56;
/* rgb */ color: rgb(220, 202, 86);
/* oklch */ color: oklch(83.2% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#ead98a',
    500: '#dcca56',
    950: '#000000',
  },
}
SCSS
$custom: #dcca56;
$custom-light: #ead98a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca56",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 51.94,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.83201,
    "c": 0.1368,
    "h": 100.5
  },
  "luminance": 0.58129
}

Semantic roles & 50–950 ramp

primary
#DCCA56
secondary
#3A479C
accent
#56E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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