#DCC77D#DCC77D

#DCC77D is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 83.1% C 0.097 H 94.1°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DCC77D
RGBrgb(220, 199, 125)
HSLhsl(47, 58%, 68%)
HSVhsv(47, 43%, 86%)
CMYKcmyk(0%, 9.5%, 43.2%, 13.7%)
CIE-LABlab(80.49, -2.69, 39.66)
CIE-LCHlch(80.49, 39.75, 93.88°)
OKLaboklab(83.09% -0.0069 0.0965)
OKLCHoklch(83.09% 0.097 94.1)
XYZxyz(53.6417, 57.5451, 27.6798)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC77D #7D92DC
analogous
#DC977D #DCC77D #C1DC7D
triadic
#DCC77D #7DDCC7 #C77DDC
tetradic
#DCC77D #7DDC97 #7D92DC #DC7DC1
square
#DCC77D #7DDC97 #7D92DC #DC7DC1
split-complementary
#DCC77D #7DC1DC #977DDC
monochromatic
#AF932F #CFB24D #DCC77D #E9DCAD #F6F1DD

Accessibility & contrast

On white

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

On black

12.51
#DCC77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC77D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC77D#FFFFFF#000000##000000
##DCC77D1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C477
Deuteranopia (green-blind)
#DBCB80
Tritanopia (blue-blind)
#E9BCB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc77d;
/* rgb */ color: rgb(220, 199, 125);
/* oklch */ color: oklch(83.1% 0.097 94.1);
Tailwind
colors: {
  custom: {
    50: '#e8d7a4',
    500: '#dcc77d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc77d;
$custom-light: #e8d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc77d",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 46.737,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83089,
    "c": 0.09671,
    "h": 94.1
  },
  "luminance": 0.57543
}

Semantic roles & 50–950 ramp

primary
#DCC77D
secondary
#4C62B2
accent
#45C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC77D

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

Preview Lab → · Contrast checker → · Palette generator →

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