#CFB971#CFB971

#CFB971 is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.095 H 93.0°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CFB971
RGBrgb(207, 185, 113)
HSLhsl(46, 49%, 63%)
HSVhsv(46, 45%, 81%)
CMYKcmyk(0%, 10.6%, 45.4%, 18.8%)
CIE-LABlab(75.55, -1.87, 39.28)
CIE-LCHlch(75.55, 39.33, 92.72°)
OKLaboklab(78.86% -0.005 0.0951)
OKLCHoklch(78.86% 0.095 93)
XYZxyz(46.0631, 49.1574, 22.6815)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB971 #7187CF
analogous
#CF8A71 #CFB971 #B6CF71
triadic
#CFB971 #71CFB9 #B971CF
tetradic
#CFB971 #71CF8A #7187CF #CF71B6
square
#CFB971 #71CF8A #7187CF #CF71B6
split-complementary
#CFB971 #71B6CF #8A71CF
monochromatic
#947D32 #C0A243 #CFB971 #DED09F #EEE6CC

Accessibility & contrast

On white

1.94
#CFB971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CFB971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB971
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB971#FFFFFF#000000##000000
##CFB9711.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66B
Deuteranopia (green-blind)
#CDBD74
Tritanopia (blue-blind)
#DCAFA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb971;
/* rgb */ color: rgb(207, 185, 113);
/* oklch */ color: oklch(78.9% 0.095 93.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd9b',
    500: '#cfb971',
    950: '#000000',
  },
}
SCSS
$custom: #cfb971;
$custom-light: #dfcd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb971",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 113
  },
  "hsl": {
    "h": 45.957,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.78863,
    "c": 0.09519,
    "h": 93
  },
  "luminance": 0.49156
}

Semantic roles & 50–950 ramp

primary
#CFB971
secondary
#BDC5DF
accent
#4BBD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB971

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

Preview Lab → · Contrast checker → · Palette generator →

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