#DCCC57#DCCC57

#DCCC57 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.138 H 101.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#DCCC57
RGBrgb(220, 204, 87)
HSLhsl(53, 66%, 60%)
HSVhsv(53, 60%, 86%)
CMYKcmyk(0%, 7.3%, 60.5%, 13.7%)
CIE-LABlab(81.34, -8.47, 58.81)
CIE-LCHlch(81.34, 59.41, 98.20°)
OKLaboklab(83.63% -0.0276 0.1349)
OKLCHoklch(83.63% 0.138 101.6)
XYZxyz(52.8304, 59.0916, 17.6380)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC57 #5767DC
analogous
#DC8957 #DCCC57 #A9DC57
triadic
#DCCC57 #57DCCC #CC57DC
tetradic
#DCCC57 #57DC89 #5767DC #DC57A9
square
#DCCC57 #57DC89 #5767DC #DC57A9
split-complementary
#DCCC57 #57A9DC #8957DC
monochromatic
#998A20 #CBB82A #DCCC57 #E7DB8A #F1EBBC

Accessibility & contrast

On white

1.64
#DCCC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#DCCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC57
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC57#FFFFFF#000000##000000
##DCCC571.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#ECBFB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc57;
/* rgb */ color: rgb(220, 204, 87);
/* oklch */ color: oklch(83.6% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#eadb8b',
    500: '#dccc57',
    950: '#000000',
  },
}
SCSS
$custom: #dccc57;
$custom-light: #eadb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc57",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 52.782,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83625,
    "c": 0.13773,
    "h": 101.6
  },
  "luminance": 0.59089
}

Semantic roles & 50–950 ramp

primary
#DCCC57
secondary
#3A469D
accent
#2ECD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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