#D0C777#D0C777

#D0C777 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.102 H 102.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D0C777
RGBrgb(208, 199, 119)
HSLhsl(54, 49%, 64%)
HSVhsv(54, 43%, 82%)
CMYKcmyk(0%, 4.3%, 42.8%, 18.4%)
CIE-LABlab(79.38, -8.12, 41.08)
CIE-LCHlch(79.38, 41.87, 101.18°)
OKLaboklab(81.94% -0.0225 0.0995)
OKLCHoklch(81.94% 0.102 102.8)
XYZxyz(49.7667, 55.5901, 25.5576)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C777 #7780D0
analogous
#D09B77 #D0C777 #ADD077
triadic
#D0C777 #77D0C7 #C777D0
tetradic
#D0C777 #77D09B #7780D0 #D077AD
square
#D0C777 #77D09B #7780D0 #D077AD
split-complementary
#D0C777 #77ADD0 #9B77D0
monochromatic
#988E35 #C0B44A #D0C777 #E0DAA4 #EFECD2

Accessibility & contrast

On white

1.73
#D0C777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D0C777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C777
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C777#FFFFFF#000000##000000
##D0C7771.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c777;
/* rgb */ color: rgb(208, 199, 119);
/* oklch */ color: oklch(81.9% 0.102 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d79f',
    500: '#d0c777',
    950: '#000000',
  },
}
SCSS
$custom: #d0c777;
$custom-light: #e0d79f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c777",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 119
  },
  "hsl": {
    "h": 53.933,
    "s": 48.634,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81942,
    "c": 0.10197,
    "h": 102.8
  },
  "luminance": 0.55589
}

Semantic roles & 50–950 ramp

primary
#D0C777
secondary
#4E569E
accent
#38BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D0C777

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

Preview Lab → · Contrast checker → · Palette generator →

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