#D4CF71#D4CF71

#D4CF71 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.117 H 106.0°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D4CF71
RGBrgb(212, 207, 113)
HSLhsl(57, 54%, 64%)
HSVhsv(57, 47%, 83%)
CMYKcmyk(0%, 2.4%, 46.7%, 16.9%)
CIE-LABlab(81.74, -11.18, 47.03)
CIE-LCHlch(81.74, 48.34, 103.37°)
OKLaboklab(83.87% -0.0321 0.1123)
OKLCHoklch(83.87% 0.117 106)
XYZxyz(52.4460, 59.8164, 24.4026)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF71 #7176D4
analogous
#D49D71 #D4CF71 #A7D471
triadic
#D4CF71 #71D4CF #CF71D4
tetradic
#D4CF71 #71D49D #7176D4 #D471A7
square
#D4CF71 #71D49D #7176D4 #D471A7
split-complementary
#D4CF71 #71A7D4 #9D71D4
monochromatic
#9C962F #C6BF42 #D4CF71 #E2DFA0 #F0EFCF

Accessibility & contrast

On white

1.62
#D4CF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D4CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF71
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF71#FFFFFF#000000##000000
##D4CF711.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#E1C4B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4cf71;
/* rgb */ color: rgb(212, 207, 113);
/* oklch */ color: oklch(83.9% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3dd9c',
    500: '#d4cf71',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf71;
$custom-light: #e3dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf71",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 56.97,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83868,
    "c": 0.11678,
    "h": 106
  },
  "luminance": 0.59815
}

Semantic roles & 50–950 ramp

primary
#D4CF71
secondary
#494DA0
accent
#2CC125
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D4CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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