#DCC257#DCC257

#DCC257 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.129 H 95.7°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#DCC257
RGBrgb(220, 194, 87)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 60%, 86%)
CMYKcmyk(0%, 11.8%, 60.5%, 13.7%)
CIE-LABlab(78.75, -3.34, 55.93)
CIE-LCHlch(78.75, 56.03, 93.42°)
OKLaboklab(81.57% -0.0129 0.1288)
OKLCHoklch(81.57% 0.129 95.7)
XYZxyz(50.5294, 54.4897, 16.8710)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC257 #5771DC
analogous
#DC8057 #DCC257 #B3DC57
triadic
#DCC257 #57DCC2 #C257DC
tetradic
#DCC257 #57DC80 #5771DC #DC57B3
square
#DCC257 #57DC80 #5771DC #DC57B3
split-complementary
#DCC257 #57B3DC #8057DC
monochromatic
#998120 #CBAC2A #DCC257 #E7D48A #F1E7BC

Accessibility & contrast

On white

1.77
#DCC257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#DCC257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC257
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC257#FFFFFF#000000##000000
##DCC2571.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DBC65C
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc257;
/* rgb */ color: rgb(220, 194, 87);
/* oklch */ color: oklch(81.6% 0.129 95.7);
Tailwind
colors: {
  custom: {
    50: '#ead48a',
    500: '#dcc257',
    950: '#000000',
  },
}
SCSS
$custom: #dcc257;
$custom-light: #ead48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc257",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 48.271,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81568,
    "c": 0.12946,
    "h": 95.7
  },
  "luminance": 0.54487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC257

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

Preview Lab → · Contrast checker → · Palette generator →

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