#D9C577#D9C577

#D9C577 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.101 H 95.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D9C577
RGBrgb(217, 197, 119)
HSLhsl(48, 56%, 66%)
HSVhsv(48, 45%, 85%)
CMYKcmyk(0%, 9.2%, 45.2%, 14.9%)
CIE-LABlab(79.62, -3.46, 41.55)
CIE-LCHlch(79.62, 41.69, 94.76°)
OKLaboklab(82.32% -0.0095 0.1004)
OKLCHoklch(82.32% 0.101 95.4)
XYZxyz(51.9127, 56.0181, 25.5272)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C577 #778BD9
analogous
#D99477 #D9C577 #BCD977
triadic
#D9C577 #77D9C5 #C577D9
tetradic
#D9C577 #77D994 #778BD9 #D977BC
square
#D9C577 #77D994 #778BD9 #D977BC
split-complementary
#D9C577 #77BCD9 #9477D9
monochromatic
#A78E2F #CCB147 #D9C577 #E6D9A7 #F4EED7

Accessibility & contrast

On white

1.72
#D9C577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D9C577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C577
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C577#FFFFFF#000000##000000
##D9C5771.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C271
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#E7BAB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c577;
/* rgb */ color: rgb(217, 197, 119);
/* oklch */ color: oklch(82.3% 0.101 95.4);
Tailwind
colors: {
  custom: {
    50: '#e6d69f',
    500: '#d9c577',
    950: '#000000',
  },
}
SCSS
$custom: #d9c577;
$custom-light: #e6d69f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c577",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 47.755,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82319,
    "c": 0.10086,
    "h": 95.4
  },
  "luminance": 0.56016
}

Semantic roles & 50–950 ramp

primary
#D9C577
secondary
#4A5EAA
accent
#43C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D9C577

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

Preview Lab → · Contrast checker → · Palette generator →

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