#D2C080#D2C080

#D2C080 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.085 H 94.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D2C080
RGBrgb(210, 192, 128)
HSLhsl(47, 48%, 66%)
HSVhsv(47, 39%, 82%)
CMYKcmyk(0%, 8.6%, 39%, 17.6%)
CIE-LABlab(77.85, -2.73, 34.57)
CIE-LCHlch(77.85, 34.67, 94.52°)
OKLaboklab(80.82% -0.0063 0.085)
OKLCHoklch(80.82% 0.085 94.3)
XYZxyz(49.3253, 52.9611, 28.0421)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C080 #8092D2
analogous
#D29780 #D2C080 #BBD280
triadic
#D2C080 #80D2C0 #C080D2
tetradic
#D2C080 #80D297 #8092D2 #D280BB
square
#D2C080 #80D297 #8092D2 #D280BB
split-complementary
#D2C080 #80BBD2 #9780D2
monochromatic
#9F8938 #C2AA53 #D2C080 #E2D6AD #F2EDDA

Accessibility & contrast

On white

1.81
#D2C080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D2C080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C080
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C080#FFFFFF#000000##000000
##D2C0801.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7B
Deuteranopia (green-blind)
#D2C382
Tritanopia (blue-blind)
#DEB7B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c080;
/* rgb */ color: rgb(210, 192, 128);
/* oklch */ color: oklch(80.8% 0.085 94.3);
Tailwind
colors: {
  custom: {
    50: '#e1d2a5',
    500: '#d2c080',
    950: '#000000',
  },
}
SCSS
$custom: #d2c080;
$custom-light: #e1d2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c080",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 46.829,
    "s": 47.674,
    "l": 66.275
  },
  "oklch": {
    "l": 0.80816,
    "c": 0.08528,
    "h": 94.3
  },
  "luminance": 0.52959
}

Semantic roles & 50–950 ramp

primary
#D2C080
secondary
#5264A4
accent
#4ABB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C080

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

Preview Lab → · Contrast checker → · Palette generator →

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