#D9CA77#D9CA77

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

Color values

HEX#D9CA77
RGBrgb(217, 202, 119)
HSLhsl(51, 56%, 66%)
HSVhsv(51, 45%, 85%)
CMYKcmyk(0%, 6.9%, 45.2%, 14.9%)
CIE-LABlab(80.92, -6.04, 43.16)
CIE-LCHlch(80.92, 43.58, 97.97°)
OKLaboklab(83.34% -0.017 0.104)
OKLCHoklch(83.34% 0.105 99.3)
XYZxyz(53.0669, 58.3265, 25.9120)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA77 #7786D9
analogous
#D99977 #D9CA77 #B7D977
triadic
#D9CA77 #77D9CA #CA77D9
tetradic
#D9CA77 #77D999 #7786D9 #D977B7
square
#D9CA77 #77D999 #7786D9 #D977B7
split-complementary
#D9CA77 #77B7D9 #9977D9
monochromatic
#A7952F #CCB747 #D9CA77 #E6DDA7 #F4EFD7

Accessibility & contrast

On white

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

On black

12.67
#D9CA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA77
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA77#FFFFFF#000000##000000
##D9CA771.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C670
Deuteranopia (green-blind)
#DDCB7A
Tritanopia (blue-blind)
#E6BFB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9ca77;
/* rgb */ color: rgb(217, 202, 119);
/* oklch */ color: oklch(83.3% 0.105 99.3);
Tailwind
colors: {
  custom: {
    50: '#e6da9f',
    500: '#d9ca77',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca77;
$custom-light: #e6da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca77",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 50.816,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83344,
    "c": 0.10542,
    "h": 99.3
  },
  "luminance": 0.58325
}

Semantic roles & 50–950 ramp

primary
#D9CA77
secondary
#4A59AA
accent
#3AC422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D9CA77

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

Preview Lab → · Contrast checker → · Palette generator →

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