#D7CD8A#D7CD8A

#D7CD8A is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.087 H 100.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D7CD8A
RGBrgb(215, 205, 138)
HSLhsl(52, 49%, 69%)
HSVhsv(52, 36%, 84%)
CMYKcmyk(0%, 4.7%, 35.8%, 15.7%)
CIE-LABlab(81.81, -6.34, 34.64)
CIE-LCHlch(81.81, 35.22, 100.38°)
OKLaboklab(84.1% -0.0163 0.0856)
OKLCHoklch(84.1% 0.087 100.8)
XYZxyz(54.4439, 59.9461, 32.7426)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD8A #8A94D7
analogous
#D7A78A #D7CD8A #BBD78A
triadic
#D7CD8A #8AD7CD #CD8AD7
tetradic
#D7CD8A #8AD7A7 #8A94D7 #D78ABB
square
#D7CD8A #8AD7A7 #8A94D7 #D78ABB
split-complementary
#D7CD8A #8ABBD7 #A78AD7
monochromatic
#AC9D3B #C7BA5C #D7CD8A #E7E0B8 #F6F4E5

Accessibility & contrast

On white

1.62
#D7CD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D7CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD8A
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD8A#FFFFFF#000000##000000
##D7CD8A1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DCCD8D
Tritanopia (blue-blind)
#E2C4BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd8a;
/* rgb */ color: rgb(215, 205, 138);
/* oklch */ color: oklch(84.1% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#e4dcad',
    500: '#d7cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd8a;
$custom-light: #e4dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd8a",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 52.208,
    "s": 49.045,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84097,
    "c": 0.0871,
    "h": 100.8
  },
  "luminance": 0.59945
}

Semantic roles & 50–950 ramp

primary
#D7CD8A
secondary
#5863AD
accent
#3CBC29
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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