#DCC157#DCC157

#DCC157 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.129 H 95.1°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#DCC157
RGBrgb(220, 193, 87)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 12.3%, 60.5%, 13.7%)
CIE-LABlab(78.49, -2.83, 55.65)
CIE-LCHlch(78.49, 55.72, 92.91°)
OKLaboklab(81.36% -0.0114 0.1282)
OKLCHoklch(81.36% 0.129 95.1)
XYZxyz(50.3076, 54.0461, 16.7971)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC157 #5772DC
analogous
#DC7F57 #DCC157 #B4DC57
triadic
#DCC157 #57DCC1 #C157DC
tetradic
#DCC157 #57DC7F #5772DC #DC57B4
square
#DCC157 #57DC7F #5772DC #DC57B4
split-complementary
#DCC157 #57B4DC #7F57DC
monochromatic
#998020 #CBAB2A #DCC157 #E7D48A #F1E6BC

Accessibility & contrast

On white

1.78
#DCC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#DCC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC157
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC157#FFFFFF#000000##000000
##DCC1571.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#ECB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc157;
/* rgb */ color: rgb(220, 193, 87);
/* oklch */ color: oklch(81.4% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#ead38a',
    500: '#dcc157',
    950: '#000000',
  },
}
SCSS
$custom: #dcc157;
$custom-light: #ead38a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc157",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 47.82,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81364,
    "c": 0.12871,
    "h": 95.1
  },
  "luminance": 0.54044
}

Semantic roles & 50–950 ramp

primary
#DCC157
secondary
#3A4E9D
accent
#3DCD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC157

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

Preview Lab → · Contrast checker → · Palette generator →

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