#D8CF73#D8CF73

#D8CF73 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.2% C 0.115 H 103.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D8CF73
RGBrgb(216, 207, 115)
HSLhsl(55, 56%, 65%)
HSVhsv(55, 47%, 85%)
CMYKcmyk(0%, 4.2%, 46.8%, 15.3%)
CIE-LABlab(82.09, -9.38, 46.56)
CIE-LCHlch(82.09, 47.50, 101.39°)
OKLaboklab(84.24% -0.027 0.1113)
OKLCHoklch(84.24% 0.115 103.6)
XYZxyz(53.7275, 60.4640, 25.0569)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF73 #737CD8
analogous
#D89C73 #D8CF73 #AFD873
triadic
#D8CF73 #73D8CF #CF73D8
tetradic
#D8CF73 #73D89C #737CD8 #D873AF
square
#D8CF73 #73D89C #737CD8 #D873AF
split-complementary
#D8CF73 #73AFD8 #9C73D8
monochromatic
#A3992D #CBBF43 #D8CF73 #E5DFA3 #F3F0D3

Accessibility & contrast

On white

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

On black

13.09
#D8CF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF73
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF73#FFFFFF#000000##000000
##D8CF731.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cf73;
/* rgb */ color: rgb(216, 207, 115);
/* oklch */ color: oklch(84.2% 0.115 103.6);
Tailwind
colors: {
  custom: {
    50: '#e6dd9d',
    500: '#d8cf73',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf73;
$custom-light: #e6dd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf73",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 115
  },
  "hsl": {
    "h": 54.653,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84235,
    "c": 0.11456,
    "h": 103.6
  },
  "luminance": 0.60462
}

Semantic roles & 50–950 ramp

primary
#D8CF73
secondary
#4851A7
accent
#30C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CF73

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

Preview Lab → · Contrast checker → · Palette generator →

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