#CFBA71#CFBA71

#CFBA71 is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.096 H 93.9°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CFBA71
RGBrgb(207, 186, 113)
HSLhsl(47, 49%, 63%)
HSVhsv(47, 45%, 81%)
CMYKcmyk(0%, 10.1%, 45.4%, 18.8%)
CIE-LABlab(75.81, -2.39, 39.61)
CIE-LCHlch(75.81, 39.68, 93.45°)
OKLaboklab(79.07% -0.0065 0.0958)
OKLCHoklch(79.07% 0.096 93.9)
XYZxyz(46.2730, 49.5773, 22.7515)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA71 #7186CF
analogous
#CF8B71 #CFBA71 #B5CF71
triadic
#CFBA71 #71CFBA #BA71CF
tetradic
#CFBA71 #71CF8B #7186CF #CF71B5
square
#CFBA71 #71CF8B #7186CF #CF71B5
split-complementary
#CFBA71 #71B5CF #8B71CF
monochromatic
#947E32 #C0A443 #CFBA71 #DED09F #EEE6CC

Accessibility & contrast

On white

1.92
#CFBA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CFBA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA71
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA71#FFFFFF#000000##000000
##CFBA711.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76B
Deuteranopia (green-blind)
#CEBE74
Tritanopia (blue-blind)
#DCB0A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfba71;
/* rgb */ color: rgb(207, 186, 113);
/* oklch */ color: oklch(79.1% 0.096 93.9);
Tailwind
colors: {
  custom: {
    50: '#dfce9b',
    500: '#cfba71',
    950: '#000000',
  },
}
SCSS
$custom: #cfba71;
$custom-light: #dfce9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba71",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 113
  },
  "hsl": {
    "h": 46.596,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79068,
    "c": 0.09602,
    "h": 93.9
  },
  "luminance": 0.49575
}

Semantic roles & 50–950 ramp

primary
#CFBA71
secondary
#BDC4DF
accent
#4ABD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFBA71

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

Preview Lab → · Contrast checker → · Palette generator →

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