#D8CA77#D8CA77

#D8CA77 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.105 H 99.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D8CA77
RGBrgb(216, 202, 119)
HSLhsl(51, 55%, 66%)
HSVhsv(51, 45%, 85%)
CMYKcmyk(0%, 6.5%, 44.9%, 15.3%)
CIE-LABlab(80.84, -6.44, 43.04)
CIE-LCHlch(80.84, 43.52, 98.52°)
OKLaboklab(83.26% -0.0181 0.1038)
OKLCHoklch(83.26% 0.105 99.9)
XYZxyz(52.7705, 58.1736, 25.8981)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA77 #7785D8
analogous
#D89977 #D8CA77 #B5D877
triadic
#D8CA77 #77D8CA #CA77D8
tetradic
#D8CA77 #77D899 #7785D8 #D877B5
square
#D8CA77 #77D899 #7785D8 #D877B5
split-complementary
#D8CA77 #77B5D8 #9977D8
monochromatic
#A5942F #CAB747 #D8CA77 #E6DDA7 #F3EFD6

Accessibility & contrast

On white

1.66
#D8CA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#D8CA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA77
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA77#FFFFFF#000000##000000
##D8CA771.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C570
Deuteranopia (green-blind)
#DCCB7A
Tritanopia (blue-blind)
#E5BFB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8ca77;
/* rgb */ color: rgb(216, 202, 119);
/* oklch */ color: oklch(83.3% 0.105 99.9);
Tailwind
colors: {
  custom: {
    50: '#e6da9f',
    500: '#d8ca77',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca77;
$custom-light: #e6da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca77",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 51.34,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83256,
    "c": 0.10534,
    "h": 99.9
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#D8CA77
secondary
#4A58A9
accent
#3AC323
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D8CA77

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

Preview Lab → · Contrast checker → · Palette generator →

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