#D7CC77#D7CC77

#D7CC77 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.107 H 101.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D7CC77
RGBrgb(215, 204, 119)
HSLhsl(53, 55%, 65%)
HSVhsv(53, 45%, 84%)
CMYKcmyk(0%, 5.1%, 44.7%, 15.7%)
CIE-LABlab(81.27, -7.87, 43.57)
CIE-LCHlch(81.27, 44.27, 100.24°)
OKLaboklab(83.58% -0.0222 0.105)
OKLCHoklch(83.58% 0.107 101.9)
XYZxyz(52.9482, 58.9663, 26.0417)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC77 #7782D7
analogous
#D79C77 #D7CC77 #B2D777
triadic
#D7CC77 #77D7CC #CC77D7
tetradic
#D7CC77 #77D79C #7782D7 #D777B2
square
#D7CC77 #77D79C #7782D7 #D777B2
split-complementary
#D7CC77 #77B2D7 #9C77D7
monochromatic
#A49630 #C9BA48 #D7CC77 #E5DEA6 #F3EFD6

Accessibility & contrast

On white

1.64
#D7CC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D7CC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC77
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC77#FFFFFF#000000##000000
##D7CC771.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC770
Deuteranopia (green-blind)
#DECC7B
Tritanopia (blue-blind)
#E4C1B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cc77;
/* rgb */ color: rgb(215, 204, 119);
/* oklch */ color: oklch(83.6% 0.107 101.9);
Tailwind
colors: {
  custom: {
    50: '#e5dba0',
    500: '#d7cc77',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc77;
$custom-light: #e5dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc77",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 53.125,
    "s": 54.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83583,
    "c": 0.10728,
    "h": 101.9
  },
  "luminance": 0.58965
}

Semantic roles & 50–950 ramp

primary
#D7CC77
secondary
#4B55A7
accent
#36C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CC77

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

Preview Lab → · Contrast checker → · Palette generator →

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