#D0C080#D0C080

#D0C080 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.085 H 95.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D0C080
RGBrgb(208, 192, 128)
HSLhsl(48, 46%, 66%)
HSVhsv(48, 38%, 82%)
CMYKcmyk(0%, 7.7%, 38.5%, 18.4%)
CIE-LABlab(77.68, -3.53, 34.31)
CIE-LCHlch(77.68, 34.49, 95.87°)
OKLaboklab(80.64% -0.0086 0.0845)
OKLCHoklch(80.64% 0.085 95.8)
XYZxyz(48.7593, 52.6692, 28.0156)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C080 #8090D0
analogous
#D09880 #D0C080 #B8D080
triadic
#D0C080 #80D0C0 #C080D0
tetradic
#D0C080 #80D098 #8090D0 #D080B8
square
#D0C080 #80D098 #8090D0 #D080B8
split-complementary
#D0C080 #80B8D0 #9880D0
monochromatic
#9C883A #BFAA53 #D0C080 #E1D6AD #F1ECD9

Accessibility & contrast

On white

1.82
#D0C080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D0C080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C080
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C080#FFFFFF#000000##000000
##D0C0801.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7B
Deuteranopia (green-blind)
#D1C282
Tritanopia (blue-blind)
#DCB7B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c080;
/* rgb */ color: rgb(208, 192, 128);
/* oklch */ color: oklch(80.6% 0.085 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfd2a5',
    500: '#d0c080',
    950: '#000000',
  },
}
SCSS
$custom: #d0c080;
$custom-light: #dfd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c080",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 48,
    "s": 45.977,
    "l": 65.882
  },
  "oklch": {
    "l": 0.80639,
    "c": 0.08489,
    "h": 95.8
  },
  "luminance": 0.52668
}

Semantic roles & 50–950 ramp

primary
#D0C080
secondary
#5363A1
accent
#48B92C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D0C080

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

Preview Lab → · Contrast checker → · Palette generator →

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