#D0CC8A#D0CC8A

#D0CC8A is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.086 H 105.2°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D0CC8A
RGBrgb(208, 204, 138)
HSLhsl(57, 43%, 68%)
HSVhsv(57, 34%, 82%)
CMYKcmyk(0%, 1.9%, 33.7%, 18.4%)
CIE-LABlab(80.98, -8.56, 33.45)
CIE-LCHlch(80.98, 34.53, 104.36°)
OKLaboklab(83.3% -0.0224 0.0828)
OKLCHoklch(83.3% 0.086 105.2)
XYZxyz(52.1933, 58.4317, 32.5688)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC8A #8A8ED0
analogous
#D0A98A #D0CC8A #B1D08A
triadic
#D0CC8A #8AD0CC #CC8AD0
tetradic
#D0CC8A #8AD0A9 #8A8ED0 #D08AB1
square
#D0CC8A #8AD0A9 #8A8ED0 #D08AB1
split-complementary
#D0CC8A #8AB1D0 #A98AD0
monochromatic
#A09A40 #BEB95E #D0CC8A #E2DFB6 #F3F2E1

Accessibility & contrast

On white

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

On black

12.69
#D0CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC8A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC8A#FFFFFF#000000##000000
##D0CC8A1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C785
Deuteranopia (green-blind)
#D9CB8D
Tritanopia (blue-blind)
#DAC4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cc8a;
/* rgb */ color: rgb(208, 204, 138);
/* oklch */ color: oklch(83.3% 0.086 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfdbad',
    500: '#d0cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc8a;
$custom-light: #dfdbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc8a",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 56.571,
    "s": 42.683,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83301,
    "c": 0.0858,
    "h": 105.2
  },
  "luminance": 0.58431
}

Semantic roles & 50–950 ramp

primary
#D0CC8A
secondary
#595DA5
accent
#37B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D0CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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