#DCC77F#DCC77F

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

Color values

HEX#DCC77F
RGBrgb(220, 199, 127)
HSLhsl(46, 57%, 68%)
HSVhsv(46, 42%, 86%)
CMYKcmyk(0%, 9.5%, 42.3%, 13.7%)
CIE-LABlab(80.51, -2.48, 38.68)
CIE-LCHlch(80.51, 38.76, 93.67°)
OKLaboklab(83.12% -0.0061 0.0943)
OKLCHoklch(83.12% 0.095 93.7)
XYZxyz(53.7707, 57.5968, 28.3594)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC77F #7F94DC
analogous
#DC987F #DCC77F #C2DC7F
triadic
#DCC77F #7FDCC7 #C77FDC
tetradic
#DCC77F #7FDC98 #7F94DC #DC7FC2
square
#DCC77F #7FDC98 #7F94DC #DC7FC2
split-complementary
#DCC77F #7FC2DC #987FDC
monochromatic
#B09330 #CFB24F #DCC77F #E9DCAF #F6F1DF

Accessibility & contrast

On white

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

On black

12.52
#DCC77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC77F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC77F#FFFFFF#000000##000000
##DCC77F1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47A
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#E9BDB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc77f;
/* rgb */ color: rgb(220, 199, 127);
/* oklch */ color: oklch(83.1% 0.095 93.7);
Tailwind
colors: {
  custom: {
    50: '#e8d7a5',
    500: '#dcc77f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc77f;
$custom-light: #e8d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc77f",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 46.452,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83121,
    "c": 0.09454,
    "h": 93.7
  },
  "luminance": 0.57595
}

Semantic roles & 50–950 ramp

primary
#DCC77F
secondary
#4D64B2
accent
#46C521
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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