#D8CF76#D8CF76

#D8CF76 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.3% C 0.111 H 103.4°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D8CF76
RGBrgb(216, 207, 118)
HSLhsl(54, 56%, 65%)
HSVhsv(54, 45%, 85%)
CMYKcmyk(0%, 4.2%, 45.4%, 15.3%)
CIE-LABlab(82.13, -9.10, 45.14)
CIE-LCHlch(82.13, 46.04, 101.39°)
OKLaboklab(84.28% -0.0258 0.1084)
OKLCHoklch(84.28% 0.111 103.4)
XYZxyz(53.9030, 60.5342, 25.9809)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF76 #767FD8
analogous
#D89E76 #D8CF76 #B0D876
triadic
#D8CF76 #76D8CF #CF76D8
tetradic
#D8CF76 #76D89E #767FD8 #D876B0
square
#D8CF76 #76D89E #767FD8 #D876B0
split-complementary
#D8CF76 #76B0D8 #9E76D8
monochromatic
#A59A2F #CABE46 #D8CF76 #E6E0A6 #F3F0D5

Accessibility & contrast

On white

1.60
#D8CF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D8CF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF76
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF76#FFFFFF#000000##000000
##D8CF761.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96F
Deuteranopia (green-blind)
#E0CE7A
Tritanopia (blue-blind)
#E5C4BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cf76;
/* rgb */ color: rgb(216, 207, 118);
/* oklch */ color: oklch(84.3% 0.111 103.4);
Tailwind
colors: {
  custom: {
    50: '#e6dd9f',
    500: '#d8cf76',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf76;
$custom-light: #e6dd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf76",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 118
  },
  "hsl": {
    "h": 54.49,
    "s": 55.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.84277,
    "c": 0.11143,
    "h": 103.4
  },
  "luminance": 0.60533
}

Semantic roles & 50–950 ramp

primary
#D8CF76
secondary
#4A53A8
accent
#31C322
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8CF76

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

Preview Lab → · Contrast checker → · Palette generator →

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