#D7CB89#D7CB89

#D7CB89 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.086 H 99.2°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D7CB89
RGBrgb(215, 203, 137)
HSLhsl(51, 49%, 69%)
HSVhsv(51, 36%, 84%)
CMYKcmyk(0%, 5.6%, 36.3%, 15.7%)
CIE-LABlab(81.27, -5.43, 34.46)
CIE-LCHlch(81.27, 34.88, 98.96°)
OKLaboklab(83.67% -0.0137 0.0851)
OKLCHoklch(83.67% 0.086 99.2)
XYZxyz(53.8965, 58.9666, 32.2046)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB89 #8995D7
analogous
#D7A489 #D7CB89 #BCD789
triadic
#D7CB89 #89D7CB #CB89D7
tetradic
#D7CB89 #89D7A4 #8995D7 #D789BC
square
#D7CB89 #89D7A4 #8995D7 #D789BC
split-complementary
#D7CB89 #89BCD7 #A489D7
monochromatic
#AB9A3A #C8B75B #D7CB89 #E6DFB7 #F6F3E4

Accessibility & contrast

On white

1.64
#D7CB89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D7CB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB89
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB89#FFFFFF#000000##000000
##D7CB891.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C784
Deuteranopia (green-blind)
#DBCC8B
Tritanopia (blue-blind)
#E2C2BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cb89;
/* rgb */ color: rgb(215, 203, 137);
/* oklch */ color: oklch(83.7% 0.086 99.2);
Tailwind
colors: {
  custom: {
    50: '#e4daac',
    500: '#d7cb89',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb89;
$custom-light: #e4daac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb89",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 137
  },
  "hsl": {
    "h": 50.769,
    "s": 49.367,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83668,
    "c": 0.0862,
    "h": 99.2
  },
  "luminance": 0.58965
}

Semantic roles & 50–950 ramp

primary
#D7CB89
secondary
#5764AD
accent
#40BD29
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #D7CB89

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

Preview Lab → · Contrast checker → · Palette generator →

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