#D4CB71#D4CB71

#D4CB71 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.113 H 103.5°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D4CB71
RGBrgb(212, 203, 113)
HSLhsl(55, 54%, 64%)
HSVhsv(55, 47%, 83%)
CMYKcmyk(0%, 4.2%, 46.7%, 16.9%)
CIE-LABlab(80.68, -9.15, 45.74)
CIE-LCHlch(80.68, 46.65, 101.31°)
OKLaboklab(83.03% -0.0263 0.1094)
OKLCHoklch(83.03% 0.113 103.5)
XYZxyz(51.4892, 57.9027, 24.0836)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB71 #717AD4
analogous
#D49971 #D4CB71 #ABD471
triadic
#D4CB71 #71D4CB #CB71D4
tetradic
#D4CB71 #71D499 #717AD4 #D471AB
square
#D4CB71 #71D499 #717AD4 #D471AB
split-complementary
#D4CB71 #71ABD4 #9971D4
monochromatic
#9C922F #C6BA42 #D4CB71 #E2DCA0 #F0EDCF

Accessibility & contrast

On white

1.67
#D4CB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#D4CB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB71
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB71#FFFFFF#000000##000000
##D4CB711.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C569
Deuteranopia (green-blind)
#DCCA75
Tritanopia (blue-blind)
#E1C0B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cb71;
/* rgb */ color: rgb(212, 203, 113);
/* oklch */ color: oklch(83.0% 0.113 103.5);
Tailwind
colors: {
  custom: {
    50: '#e3da9b',
    500: '#d4cb71',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb71;
$custom-light: #e3da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb71",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 54.545,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83031,
    "c": 0.11255,
    "h": 103.5
  },
  "luminance": 0.57901
}

Semantic roles & 50–950 ramp

primary
#D4CB71
secondary
#4951A0
accent
#33C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D4CB71

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

Preview Lab → · Contrast checker → · Palette generator →

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