#D7CA89#D7CA89

#D7CA89 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.085 H 98.2°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D7CA89
RGBrgb(215, 202, 137)
HSLhsl(50, 49%, 69%)
HSVhsv(50, 36%, 84%)
CMYKcmyk(0%, 6%, 36.3%, 15.7%)
CIE-LABlab(81.01, -4.91, 34.12)
CIE-LCHlch(81.01, 34.47, 98.20°)
OKLaboklab(83.46% -0.0122 0.0843)
OKLCHoklch(83.46% 0.085 98.2)
XYZxyz(53.6611, 58.4958, 32.1262)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA89 #8996D7
analogous
#D7A389 #D7CA89 #BDD789
triadic
#D7CA89 #89D7CA #CA89D7
tetradic
#D7CA89 #89D7A3 #8996D7 #D789BD
square
#D7CA89 #89D7A3 #8996D7 #D789BD
split-complementary
#D7CA89 #89BDD7 #A389D7
monochromatic
#AB993A #C8B55B #D7CA89 #E6DFB7 #F6F3E4

Accessibility & contrast

On white

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

On black

12.70
#D7CA89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA89
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA89#FFFFFF#000000##000000
##D7CA891.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C684
Deuteranopia (green-blind)
#DACB8B
Tritanopia (blue-blind)
#E2C1B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7ca89;
/* rgb */ color: rgb(215, 202, 137);
/* oklch */ color: oklch(83.5% 0.085 98.2);
Tailwind
colors: {
  custom: {
    50: '#e4daac',
    500: '#d7ca89',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca89;
$custom-light: #e4daac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca89",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 137
  },
  "hsl": {
    "h": 50,
    "s": 49.367,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.08519,
    "h": 98.2
  },
  "luminance": 0.58494
}

Semantic roles & 50–950 ramp

primary
#D7CA89
secondary
#5765AD
accent
#41BD29
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #D7CA89

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

Preview Lab → · Contrast checker → · Palette generator →

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