#D1CB8A#D1CB8A

#D1CB8A is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.085 H 103.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D1CB8A
RGBrgb(209, 203, 138)
HSLhsl(55, 44%, 68%)
HSVhsv(55, 34%, 82%)
CMYKcmyk(0%, 2.9%, 34%, 18%)
CIE-LABlab(80.80, -7.66, 33.22)
CIE-LCHlch(80.80, 34.10, 102.99°)
OKLaboklab(83.18% -0.0199 0.0823)
OKLCHoklch(83.18% 0.085 103.6)
XYZxyz(52.2385, 58.1033, 32.5031)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB8A #8A90D1
analogous
#D1A78A #D1CB8A #B3D18A
triadic
#D1CB8A #8AD1CB #CB8AD1
tetradic
#D1CB8A #8AD1A7 #8A90D1 #D18AB3
square
#D1CB8A #8AD1A7 #8A90D1 #D18AB3
split-complementary
#D1CB8A #8AB3D1 #A78AD1
monochromatic
#A1993F #C0B75E #D1CB8A #E2DFB6 #F4F2E2

Accessibility & contrast

On white

1.66
#D1CB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D1CB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB8A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB8A#FFFFFF#000000##000000
##D1CB8A1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#D8CA8D
Tritanopia (blue-blind)
#DBC3BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cb8a;
/* rgb */ color: rgb(209, 203, 138);
/* oklch */ color: oklch(83.2% 0.085 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0daad',
    500: '#d1cb8a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb8a;
$custom-light: #e0daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb8a",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 54.93,
    "s": 43.558,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83177,
    "c": 0.08466,
    "h": 103.6
  },
  "luminance": 0.58102
}

Semantic roles & 50–950 ramp

primary
#D1CB8A
secondary
#595FA6
accent
#3AB72F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D1CB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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