#D7CA8A#D7CA8A

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

Color values

HEX#D7CA8A
RGBrgb(215, 202, 138)
HSLhsl(50, 49%, 69%)
HSVhsv(50, 36%, 84%)
CMYKcmyk(0%, 6%, 35.8%, 15.7%)
CIE-LABlab(81.03, -4.80, 33.62)
CIE-LCHlch(81.03, 33.96, 98.12°)
OKLaboklab(83.48% -0.0118 0.0832)
OKLCHoklch(83.48% 0.084 98.1)
XYZxyz(53.7331, 58.5246, 32.5057)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA8A #8A97D7
analogous
#D7A48A #D7CA8A #BED78A
triadic
#D7CA8A #8AD7CA #CA8AD7
tetradic
#D7CA8A #8AD7A4 #8A97D7 #D78ABE
square
#D7CA8A #8AD7A4 #8A97D7 #D78ABE
split-complementary
#D7CA8A #8ABED7 #A48AD7
monochromatic
#AC993B #C7B55C #D7CA8A #E7DFB8 #F6F3E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CA8A#FFFFFF#000000##000000
##D7CA8A1.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)
#D6C685
Deuteranopia (green-blind)
#DACB8C
Tritanopia (blue-blind)
#E2C1BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7ca8a;
/* rgb */ color: rgb(215, 202, 138);
/* oklch */ color: oklch(83.5% 0.084 98.1);
Tailwind
colors: {
  custom: {
    50: '#e4daad',
    500: '#d7ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca8a;
$custom-light: #e4daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca8a",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 49.87,
    "s": 49.045,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83481,
    "c": 0.08403,
    "h": 98.1
  },
  "luminance": 0.58523
}

Semantic roles & 50–950 ramp

primary
#D7CA8A
secondary
#5866AD
accent
#42BC29
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #D7CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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