#DCC77B#DCC77B

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

Color values

HEX#DCC77B
RGBrgb(220, 199, 123)
HSLhsl(47, 58%, 67%)
HSVhsv(47, 44%, 86%)
CMYKcmyk(0%, 9.5%, 44.1%, 13.7%)
CIE-LABlab(80.46, -2.89, 40.63)
CIE-LCHlch(80.46, 40.74, 94.07°)
OKLaboklab(83.06% -0.0077 0.0986)
OKLCHoklch(83.06% 0.099 94.4)
XYZxyz(53.5152, 57.4945, 27.0137)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC77B #7B90DC
analogous
#DC967B #DCC77B #C1DC7B
triadic
#DCC77B #7BDCC7 #C77BDC
tetradic
#DCC77B #7BDC96 #7B90DC #DC7BC1
square
#DCC77B #7BDC96 #7B90DC #DC7BC1
split-complementary
#DCC77B #7BC1DC #967BDC
monochromatic
#AE932E #CFB24B #DCC77B #E9DCAB #F6F0DC

Accessibility & contrast

On white

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

On black

12.50
#DCC77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC77B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC77B#FFFFFF#000000##000000
##DCC77B1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C475
Deuteranopia (green-blind)
#DBCB7E
Tritanopia (blue-blind)
#EABCB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc77b;
/* rgb */ color: rgb(220, 199, 123);
/* oklch */ color: oklch(83.1% 0.099 94.4);
Tailwind
colors: {
  custom: {
    50: '#e8d7a2',
    500: '#dcc77b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc77b;
$custom-light: #e8d7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc77b",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 123
  },
  "hsl": {
    "h": 47.01,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83057,
    "c": 0.09886,
    "h": 94.4
  },
  "luminance": 0.57493
}

Semantic roles & 50–950 ramp

primary
#DCC77B
secondary
#4B61B1
accent
#44C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC77B

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

Preview Lab → · Contrast checker → · Palette generator →

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