#D2CB6F#D2CB6F

#D2CB6F is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.115 H 104.8°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D2CB6F
RGBrgb(210, 203, 111)
HSLhsl(56, 52%, 63%)
HSVhsv(56, 47%, 82%)
CMYKcmyk(0%, 3.3%, 47.1%, 17.6%)
CIE-LABlab(80.50, -10.15, 46.45)
CIE-LCHlch(80.50, 47.55, 102.32°)
OKLaboklab(82.83% -0.0292 0.1109)
OKLCHoklch(82.83% 0.115 104.8)
XYZxyz(50.8047, 57.5627, 23.4703)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB6F #6F76D2
analogous
#D29A6F #D2CB6F #A7D26F
triadic
#D2CB6F #6FD2CB #CB6FD2
tetradic
#D2CB6F #6FD29A #6F76D2 #D26FA7
square
#D2CB6F #6FD29A #6F76D2 #D26FA7
split-complementary
#D2CB6F #6FA7D2 #9A6FD2
monochromatic
#97902F #C3BA40 #D2CB6F #E1DC9E #EFEDCC

Accessibility & contrast

On white

1.68
#D2CB6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D2CB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB6F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB6F#FFFFFF#000000##000000
##D2CB6F1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C567
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#DFC0B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb6f;
/* rgb */ color: rgb(210, 203, 111);
/* oklch */ color: oklch(82.8% 0.115 104.8);
Tailwind
colors: {
  custom: {
    50: '#e2da9a',
    500: '#d2cb6f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb6f;
$custom-light: #e2da9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb6f",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 111
  },
  "hsl": {
    "h": 55.758,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82833,
    "c": 0.11466,
    "h": 104.8
  },
  "luminance": 0.57561
}

Semantic roles & 50–950 ramp

primary
#D2CB6F
secondary
#494F9D
accent
#31C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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