#DCC77E#DCC77E

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

Color values

HEX#DCC77E
RGBrgb(220, 199, 126)
HSLhsl(47, 57%, 68%)
HSVhsv(47, 43%, 86%)
CMYKcmyk(0%, 9.5%, 42.7%, 13.7%)
CIE-LABlab(80.50, -2.58, 39.17)
CIE-LCHlch(80.50, 39.25, 93.77°)
OKLaboklab(83.1% -0.0065 0.0954)
OKLCHoklch(83.1% 0.096 93.9)
XYZxyz(53.7059, 57.5708, 28.0179)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC77E #7E93DC
analogous
#DC987E #DCC77E #C2DC7E
triadic
#DCC77E #7EDCC7 #C77EDC
tetradic
#DCC77E #7EDC98 #7E93DC #DC7EC2
square
#DCC77E #7EDC98 #7E93DC #DC7EC2
split-complementary
#DCC77E #7EC2DC #987EDC
monochromatic
#B09330 #CFB24E #DCC77E #E9DCAE #F6F1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC77E#FFFFFF#000000##000000
##DCC77E1.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)
#D5C478
Deuteranopia (green-blind)
#DBCB81
Tritanopia (blue-blind)
#E9BDB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc77e;
/* rgb */ color: rgb(220, 199, 126);
/* oklch */ color: oklch(83.1% 0.096 93.9);
Tailwind
colors: {
  custom: {
    50: '#e8d7a4',
    500: '#dcc77e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc77e;
$custom-light: #e8d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc77e",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 46.596,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83105,
    "c": 0.09562,
    "h": 93.9
  },
  "luminance": 0.57569
}

Semantic roles & 50–950 ramp

primary
#DCC77E
secondary
#4C63B2
accent
#45C521
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC77E

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

Preview Lab → · Contrast checker → · Palette generator →

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