#D8CF6F#D8CF6F

#D8CF6F is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.2% C 0.119 H 103.9°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D8CF6F
RGBrgb(216, 207, 111)
HSLhsl(55, 57%, 64%)
HSVhsv(55, 49%, 85%)
CMYKcmyk(0%, 4.2%, 48.6%, 15.3%)
CIE-LABlab(82.04, -9.75, 48.44)
CIE-LCHlch(82.04, 49.41, 101.38°)
OKLaboklab(84.18% -0.0284 0.1152)
OKLCHoklch(84.18% 0.119 103.9)
XYZxyz(53.5024, 60.3739, 23.8709)
Luminance0.6037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF6F #6F78D8
analogous
#D89B6F #D8CF6F #ADD86F
triadic
#D8CF6F #6FD8CF #CF6FD8
tetradic
#D8CF6F #6FD89B #6F78D8 #D86FAD
square
#D8CF6F #6FD89B #6F78D8 #D86FAD
split-complementary
#D8CF6F #6FADD8 #9B6FD8
monochromatic
#A1972C #CBBF3F #D8CF6F #E5DF9F #F2EFCF

Accessibility & contrast

On white

1.61
#D8CF6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D8CF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF6F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF6F#FFFFFF#000000##000000
##D8CF6F1.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC967
Deuteranopia (green-blind)
#E1CE73
Tritanopia (blue-blind)
#E5C4B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cf6f;
/* rgb */ color: rgb(216, 207, 111);
/* oklch */ color: oklch(84.2% 0.119 103.9);
Tailwind
colors: {
  custom: {
    50: '#e6dd9a',
    500: '#d8cf6f',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf6f;
$custom-light: #e6dd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf6f",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 111
  },
  "hsl": {
    "h": 54.857,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8418,
    "c": 0.11863,
    "h": 103.9
  },
  "luminance": 0.60372
}

Semantic roles & 50–950 ramp

primary
#D8CF6F
secondary
#464EA5
accent
#2FC521
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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