#CFB86C#CFB86C

#CFB86C is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.100 H 93.1°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CFB86C
RGBrgb(207, 184, 108)
HSLhsl(46, 51%, 62%)
HSVhsv(46, 48%, 81%)
CMYKcmyk(0%, 11.1%, 47.8%, 18.8%)
CIE-LABlab(75.22, -1.83, 41.41)
CIE-LCHlch(75.22, 41.45, 92.53°)
OKLaboklab(78.58% -0.0053 0.0995)
OKLCHoklch(78.58% 0.1 93.1)
XYZxyz(45.5808, 48.6310, 21.1702)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB86C #6C83CF
analogous
#CF876C #CFB86C #B4CF6C
triadic
#CFB86C #6CCFB8 #B86CCF
tetradic
#CFB86C #6CCF87 #6C83CF #CF6CB4
square
#CFB86C #6CCF87 #6C83CF #CF6CB4
split-complementary
#CFB86C #6CB4CF #876CCF
monochromatic
#917A2F #BFA13E #CFB86C #DECE9A #EDE5C8

Accessibility & contrast

On white

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

On black

10.73
#CFB86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB86C
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB86C#FFFFFF#000000##000000
##CFB86C1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B566
Deuteranopia (green-blind)
#CDBC6F
Tritanopia (blue-blind)
#DDADA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb86c;
/* rgb */ color: rgb(207, 184, 108);
/* oklch */ color: oklch(78.6% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#dfcd97',
    500: '#cfb86c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb86c;
$custom-light: #dfcd97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb86c",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 108
  },
  "hsl": {
    "h": 46.061,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78582,
    "c": 0.09965,
    "h": 93.1
  },
  "luminance": 0.48629
}

Semantic roles & 50–950 ramp

primary
#CFB86C
secondary
#B9C2DE
accent
#4ABE27
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB86C

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

Preview Lab → · Contrast checker → · Palette generator →

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