#D8CB71#D8CB71

#D8CB71 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.113 H 101.2°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D8CB71
RGBrgb(216, 203, 113)
HSLhsl(52, 57%, 65%)
HSVhsv(52, 48%, 85%)
CMYKcmyk(0%, 6%, 47.7%, 15.3%)
CIE-LABlab(81.02, -7.53, 46.23)
CIE-LCHlch(81.02, 46.84, 99.25°)
OKLaboklab(83.38% -0.0218 0.1105)
OKLCHoklch(83.38% 0.113 101.2)
XYZxyz(52.6569, 58.5048, 24.1384)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB71 #717ED8
analogous
#D89871 #D8CB71 #B2D871
triadic
#D8CB71 #71D8CB #CB71D8
tetradic
#D8CB71 #71D898 #717ED8 #D871B2
square
#D8CB71 #71D898 #717ED8 #D871B2
split-complementary
#D8CB71 #71B2D8 #9871D8
monochromatic
#A2932D #CBB941 #D8CB71 #E5DDA1 #F2EED1

Accessibility & contrast

On white

1.65
#D8CB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D8CB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB71
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB71#FFFFFF#000000##000000
##D8CB711.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#E5C0B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cb71;
/* rgb */ color: rgb(216, 203, 113);
/* oklch */ color: oklch(83.4% 0.113 101.2);
Tailwind
colors: {
  custom: {
    50: '#e6da9b',
    500: '#d8cb71',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb71;
$custom-light: #e6da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb71",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 52.427,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83377,
    "c": 0.1126,
    "h": 101.2
  },
  "luminance": 0.58503
}

Semantic roles & 50–950 ramp

primary
#D8CB71
secondary
#4753A6
accent
#36C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8CB71

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

Preview Lab → · Contrast checker → · Palette generator →

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