#D8CF66#D8CF66

#D8CF66 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.127 H 104.3°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D8CF66
RGBrgb(216, 207, 102)
HSLhsl(55, 59%, 62%)
HSVhsv(55, 53%, 85%)
CMYKcmyk(0%, 4.2%, 52.8%, 15.3%)
CIE-LABlab(81.94, -10.53, 52.59)
CIE-LCHlch(81.94, 53.64, 101.32°)
OKLaboklab(84.07% -0.0316 0.1234)
OKLCHoklch(84.07% 0.127 104.3)
XYZxyz(53.0316, 60.1856, 21.3913)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF66 #666FD8
analogous
#D89666 #D8CF66 #A8D866
triadic
#D8CF66 #66D8CF #CF66D8
tetradic
#D8CF66 #66D896 #666FD8 #D866A8
square
#D8CF66 #66D896 #666FD8 #D866A8
split-complementary
#D8CF66 #66A8D8 #9666D8
monochromatic
#9C9328 #CCC035 #D8CF66 #E4DE97 #F1EEC8

Accessibility & contrast

On white

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

On black

13.04
#D8CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF66
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF66#FFFFFF#000000##000000
##D8CF661.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC95C
Deuteranopia (green-blind)
#E2CE6B
Tritanopia (blue-blind)
#E6C3B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cf66;
/* rgb */ color: rgb(216, 207, 102);
/* oklch */ color: oklch(84.1% 0.127 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6dd94',
    500: '#d8cf66',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf66;
$custom-light: #e6dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf66",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 55.263,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84066,
    "c": 0.1274,
    "h": 104.3
  },
  "luminance": 0.60184
}

Semantic roles & 50–950 ramp

primary
#D8CF66
secondary
#424AA0
accent
#2CC71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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