#D7CF8A#D7CF8A

#D7CF8A is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.5% C 0.089 H 102.4°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#D7CF8A
RGBrgb(215, 207, 138)
HSLhsl(54, 49%, 69%)
HSVhsv(54, 36%, 84%)
CMYKcmyk(0%, 3.7%, 35.8%, 15.7%)
CIE-LABlab(82.33, -7.37, 35.32)
CIE-LCHlch(82.33, 36.08, 101.78°)
OKLaboklab(84.51% -0.0192 0.0871)
OKLCHoklch(84.51% 0.089 102.4)
XYZxyz(54.9254, 60.9090, 32.9031)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF8A #8A92D7
analogous
#D7A98A #D7CF8A #B9D78A
triadic
#D7CF8A #8AD7CF #CF8AD7
tetradic
#D7CF8A #8AD7A9 #8A92D7 #D78AB9
square
#D7CF8A #8AD7A9 #8A92D7 #D78AB9
split-complementary
#D7CF8A #8AB9D7 #A98AD7
monochromatic
#ACA03B #C7BC5C #D7CF8A #E7E2B8 #F6F4E5

Accessibility & contrast

On white

1.59
#D7CF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#D7CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF8A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF8A#FFFFFF#000000##000000
##D7CF8A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA85
Deuteranopia (green-blind)
#DECF8D
Tritanopia (blue-blind)
#E2C6BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7cf8a;
/* rgb */ color: rgb(215, 207, 138);
/* oklch */ color: oklch(84.5% 0.089 102.4);
Tailwind
colors: {
  custom: {
    50: '#e4ddad',
    500: '#d7cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf8a;
$custom-light: #e4ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf8a",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 53.766,
    "s": 49.045,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8451,
    "c": 0.08924,
    "h": 102.4
  },
  "luminance": 0.60908
}

Semantic roles & 50–950 ramp

primary
#D7CF8A
secondary
#5861AD
accent
#38BC29
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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