#D2CB80#D2CB80

#D2CB80 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.096 H 103.7°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D2CB80
RGBrgb(210, 203, 128)
HSLhsl(55, 48%, 66%)
HSVhsv(55, 39%, 82%)
CMYKcmyk(0%, 3.3%, 39%, 17.6%)
CIE-LABlab(80.72, -8.42, 38.27)
CIE-LCHlch(80.72, 39.18, 102.41°)
OKLaboklab(83.09% -0.0227 0.0935)
OKLCHoklch(83.09% 0.096 103.7)
XYZxyz(51.8314, 57.9733, 28.8775)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB80 #8087D2
analogous
#D2A280 #D2CB80 #B0D280
triadic
#D2CB80 #80D2CB #CB80D2
tetradic
#D2CB80 #80D2A2 #8087D2 #D280B0
square
#D2CB80 #80D2A2 #8087D2 #D280B0
split-complementary
#D2CB80 #80B0D2 #A280D2
monochromatic
#9F9638 #C2B853 #D2CB80 #E2DEAD #F2F0DA

Accessibility & contrast

On white

1.67
#D2CB80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D2CB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB80
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB80#FFFFFF#000000##000000
##D2CB801.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67A
Deuteranopia (green-blind)
#DACA83
Tritanopia (blue-blind)
#DDC2B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb80;
/* rgb */ color: rgb(210, 203, 128);
/* oklch */ color: oklch(83.1% 0.096 103.7);
Tailwind
colors: {
  custom: {
    50: '#e1daa6',
    500: '#d2cb80',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb80;
$custom-light: #e1daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb80",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 128
  },
  "hsl": {
    "h": 54.878,
    "s": 47.674,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83089,
    "c": 0.09626,
    "h": 103.7
  },
  "luminance": 0.57972
}

Semantic roles & 50–950 ramp

primary
#D2CB80
secondary
#5259A4
accent
#37BB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CB80

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

Preview Lab → · Contrast checker → · Palette generator →

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