#DCC757#DCC757

#DCC757 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.133 H 98.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DCC757
RGBrgb(220, 199, 87)
HSLhsl(51, 66%, 60%)
HSVhsv(51, 60%, 86%)
CMYKcmyk(0%, 9.5%, 60.5%, 13.7%)
CIE-LABlab(80.04, -5.92, 57.37)
CIE-LCHlch(80.04, 57.68, 95.89°)
OKLaboklab(82.59% -0.0203 0.1319)
OKLCHoklch(82.59% 0.133 98.7)
XYZxyz(51.6610, 56.7529, 17.2482)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC757 #576CDC
analogous
#DC8457 #DCC757 #AFDC57
triadic
#DCC757 #57DCC7 #C757DC
tetradic
#DCC757 #57DC84 #576CDC #DC57AF
square
#DCC757 #57DC84 #576CDC #DC57AF
split-complementary
#DCC757 #57AFDC #8457DC
monochromatic
#998620 #CBB22A #DCC757 #E7D88A #F1E9BC

Accessibility & contrast

On white

1.70
#DCC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#DCC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC757
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC757#FFFFFF#000000##000000
##DCC7571.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc757;
/* rgb */ color: rgb(220, 199, 87);
/* oklch */ color: oklch(82.6% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#ead78a',
    500: '#dcc757',
    950: '#000000',
  },
}
SCSS
$custom: #dcc757;
$custom-light: #ead78a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc757",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 50.526,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82593,
    "c": 0.13343,
    "h": 98.7
  },
  "luminance": 0.56751
}

Semantic roles & 50–950 ramp

primary
#DCC757
secondary
#3A4A9D
accent
#35CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC757

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

Preview Lab → · Contrast checker → · Palette generator →

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