#DCCA57#DCCA57

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

Color values

HEX#DCCA57
RGBrgb(220, 202, 87)
HSLhsl(52, 66%, 60%)
HSVhsv(52, 60%, 86%)
CMYKcmyk(0%, 8.2%, 60.5%, 13.7%)
CIE-LABlab(80.82, -7.45, 58.23)
CIE-LCHlch(80.82, 58.71, 97.29°)
OKLaboklab(83.21% -0.0247 0.1337)
OKLCHoklch(83.21% 0.136 100.5)
XYZxyz(52.3581, 58.1470, 17.4805)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA57 #5769DC
analogous
#DC8857 #DCCA57 #ABDC57
triadic
#DCCA57 #57DCCA #CA57DC
tetradic
#DCCA57 #57DC88 #5769DC #DC57AB
square
#DCCA57 #57DC88 #5769DC #DC57AB
split-complementary
#DCCA57 #57ABDC #8857DC
monochromatic
#998820 #CBB62A #DCCA57 #E7DA8A #F1EABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCCA57#FFFFFF#000000##000000
##DCCA571.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)
#DBC54A
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#ECBDB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcca57;
/* rgb */ color: rgb(220, 202, 87);
/* oklch */ color: oklch(83.2% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#ead98b',
    500: '#dcca57',
    950: '#000000',
  },
}
SCSS
$custom: #dcca57;
$custom-light: #ead98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca57",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 51.88,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83211,
    "c": 0.13598,
    "h": 100.5
  },
  "luminance": 0.58145
}

Semantic roles & 50–950 ramp

primary
#DCCA57
secondary
#3A489D
accent
#31CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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