#CFB86F#CFB86F

#CFB86F is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.097 H 92.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CFB86F
RGBrgb(207, 184, 111)
HSLhsl(46, 50%, 62%)
HSVhsv(46, 46%, 81%)
CMYKcmyk(0%, 11.1%, 46.4%, 18.8%)
CIE-LABlab(75.26, -1.54, 39.94)
CIE-LCHlch(75.26, 39.97, 92.21°)
OKLaboklab(78.63% -0.0042 0.0964)
OKLCHoklch(78.63% 0.097 92.5)
XYZxyz(45.7432, 48.6959, 22.0256)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB86F #6F86CF
analogous
#CF886F #CFB86F #B6CF6F
triadic
#CFB86F #6FCFB8 #B86FCF
tetradic
#CFB86F #6FCF88 #6F86CF #CF6FB6
square
#CFB86F #6FCF88 #6F86CF #CF6FB6
split-complementary
#CFB86F #6FB6CF #886FCF
monochromatic
#937B31 #C0A141 #CFB86F #DECF9D #EEE5CB

Accessibility & contrast

On white

1.96
#CFB86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CFB86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB86F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB86F#FFFFFF#000000##000000
##CFB86F1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B569
Deuteranopia (green-blind)
#CCBC72
Tritanopia (blue-blind)
#DCAEA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb86f;
/* rgb */ color: rgb(207, 184, 111);
/* oklch */ color: oklch(78.6% 0.097 92.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd99',
    500: '#cfb86f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb86f;
$custom-light: #dfcd99;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb86f",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 111
  },
  "hsl": {
    "h": 45.625,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.78627,
    "c": 0.09651,
    "h": 92.5
  },
  "luminance": 0.48694
}

Semantic roles & 50–950 ramp

primary
#CFB86F
secondary
#BBC4DE
accent
#4CBD28
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB86F

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

Preview Lab → · Contrast checker → · Palette generator →

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