#DCC957#DCC957

#DCC957 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.135 H 99.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DCC957
RGBrgb(220, 201, 87)
HSLhsl(51, 66%, 60%)
HSVhsv(51, 60%, 86%)
CMYKcmyk(0%, 8.6%, 60.5%, 13.7%)
CIE-LABlab(80.56, -6.94, 57.95)
CIE-LCHlch(80.56, 58.36, 96.83°)
OKLaboklab(83.01% -0.0232 0.1331)
OKLCHoklch(83.01% 0.135 99.9)
XYZxyz(52.1242, 57.6792, 17.4026)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC957 #576ADC
analogous
#DC8757 #DCC957 #ACDC57
triadic
#DCC957 #57DCC9 #C957DC
tetradic
#DCC957 #57DC87 #576ADC #DC57AC
square
#DCC957 #57DC87 #576ADC #DC57AC
split-complementary
#DCC957 #57ACDC #8757DC
monochromatic
#998720 #CBB42A #DCC957 #E7D98A #F1EABC

Accessibility & contrast

On white

1.68
#DCC957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DCC957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC957
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC957#FFFFFF#000000##000000
##DCC9571.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44A
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc957;
/* rgb */ color: rgb(220, 201, 87);
/* oklch */ color: oklch(83.0% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#ead98b',
    500: '#dcc957',
    950: '#000000',
  },
}
SCSS
$custom: #dcc957;
$custom-light: #ead98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc957",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 51.429,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83005,
    "c": 0.13512,
    "h": 99.9
  },
  "luminance": 0.57677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC957

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

Preview Lab → · Contrast checker → · Palette generator →

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