#D8CF8A#D8CF8A

#D8CF8A is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.6% C 0.089 H 101.7°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D8CF8A
RGBrgb(216, 207, 138)
HSLhsl(53, 50%, 69%)
HSVhsv(53, 36%, 85%)
CMYKcmyk(0%, 4.2%, 36.1%, 15.3%)
CIE-LABlab(82.41, -6.98, 35.44)
CIE-LCHlch(82.41, 36.12, 101.13°)
OKLaboklab(84.59% -0.0181 0.0874)
OKLCHoklch(84.59% 0.089 101.7)
XYZxyz(55.2200, 61.0609, 32.9169)
Luminance0.6106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF8A #8A93D8
analogous
#D8A88A #D8CF8A #BAD88A
triadic
#D8CF8A #8AD8CF #CF8AD8
tetradic
#D8CF8A #8AD8A8 #8A93D8 #D88ABA
square
#D8CF8A #8AD8A8 #8A93D8 #D88ABA
split-complementary
#D8CF8A #8ABAD8 #A88AD8
monochromatic
#AEA03A #C9BC5C #D8CF8A #E7E2B8 #F7F5E6

Accessibility & contrast

On white

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

On black

13.21
#D8CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF8A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF8A#FFFFFF#000000##000000
##D8CF8A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cf8a;
/* rgb */ color: rgb(216, 207, 138);
/* oklch */ color: oklch(84.6% 0.089 101.7);
Tailwind
colors: {
  custom: {
    50: '#e5ddad',
    500: '#d8cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf8a;
$custom-light: #e5ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf8a",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 53.077,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.84594,
    "c": 0.08928,
    "h": 101.7
  },
  "luminance": 0.6106
}

Semantic roles & 50–950 ramp

primary
#D8CF8A
secondary
#5862AE
accent
#39BD28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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