#D2CB95#D2CB95

#D2CB95 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.071 H 101.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D2CB95
RGBrgb(210, 203, 149)
HSLhsl(53, 40%, 70%)
HSVhsv(53, 29%, 82%)
CMYKcmyk(0%, 3.3%, 29%, 17.6%)
CIE-LABlab(81.06, -5.90, 27.88)
CIE-LCHlch(81.06, 28.50, 101.95°)
OKLaboklab(83.47% -0.0143 0.07)
OKLCHoklch(83.47% 0.071 101.6)
XYZxyz(53.3594, 58.5845, 36.9250)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB95 #959CD2
analogous
#D2AC95 #D2CB95 #BAD295
triadic
#D2CB95 #95D2CB #CB95D2
tetradic
#D2CB95 #95D2AC #959CD2 #D295BA
square
#D2CB95 #95D2AC #959CD2 #D295BA
split-complementary
#D2CB95 #95BAD2 #AC95D2
monochromatic
#A69B47 #C0B66A #D2CB95 #E4E0C0 #F6F4EA

Accessibility & contrast

On white

1.65
#D2CB95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D2CB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB95
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB95#FFFFFF#000000##000000
##D2CB951.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C791
Deuteranopia (green-blind)
#D7CB97
Tritanopia (blue-blind)
#DBC4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cb95;
/* rgb */ color: rgb(210, 203, 149);
/* oklch */ color: oklch(83.5% 0.071 101.6);
Tailwind
colors: {
  custom: {
    50: '#e0dab4',
    500: '#d2cb95',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb95;
$custom-light: #e0dab4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb95",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 149
  },
  "hsl": {
    "h": 53.115,
    "s": 40.397,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83468,
    "c": 0.07142,
    "h": 101.6
  },
  "luminance": 0.58583
}

Semantic roles & 50–950 ramp

primary
#D2CB95
secondary
#636BA8
accent
#41B332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2CB95

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

Preview Lab → · Contrast checker → · Palette generator →

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