#D8CF71#D8CF71

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

Color values

HEX#D8CF71
RGBrgb(216, 207, 113)
HSLhsl(55, 57%, 65%)
HSVhsv(55, 48%, 85%)
CMYKcmyk(0%, 4.2%, 47.7%, 15.3%)
CIE-LABlab(82.07, -9.57, 47.50)
CIE-LCHlch(82.07, 48.46, 101.39°)
OKLaboklab(84.21% -0.0277 0.1133)
OKLCHoklch(84.21% 0.117 103.7)
XYZxyz(53.6137, 60.4184, 24.4573)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF71 #717AD8
analogous
#D89C71 #D8CF71 #AED871
triadic
#D8CF71 #71D8CF #CF71D8
tetradic
#D8CF71 #71D89C #717AD8 #D871AE
square
#D8CF71 #71D89C #717AD8 #D871AE
split-complementary
#D8CF71 #71AED8 #9C71D8
monochromatic
#A2982D #CBBF41 #D8CF71 #E5DFA1 #F2EFD1

Accessibility & contrast

On white

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

On black

13.08
#D8CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF71
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF71#FFFFFF#000000##000000
##D8CF711.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cf71;
/* rgb */ color: rgb(216, 207, 113);
/* oklch */ color: oklch(84.2% 0.117 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6dd9c',
    500: '#d8cf71',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf71;
$custom-light: #e6dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf71",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 54.757,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84207,
    "c": 0.11661,
    "h": 103.7
  },
  "luminance": 0.60417
}

Semantic roles & 50–950 ramp

primary
#D8CF71
secondary
#4750A6
accent
#2FC421
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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