#CFB86B#CFB86B

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

Color values

HEX#CFB86B
RGBrgb(207, 184, 107)
HSLhsl(46, 51%, 62%)
HSVhsv(46, 48%, 81%)
CMYKcmyk(0%, 11.1%, 48.3%, 18.8%)
CIE-LABlab(75.21, -1.92, 41.90)
CIE-LCHlch(75.21, 41.94, 92.63°)
OKLaboklab(78.57% -0.0057 0.1005)
OKLCHoklch(78.57% 0.101 93.3)
XYZxyz(45.5279, 48.6098, 20.8915)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB86B #6B82CF
analogous
#CF866B #CFB86B #B4CF6B
triadic
#CFB86B #6BCFB8 #B86BCF
tetradic
#CFB86B #6BCF86 #6B82CF #CF6BB4
square
#CFB86B #6BCF86 #6B82CF #CF6BB4
split-complementary
#CFB86B #6BB4CF #866BCF
monochromatic
#917A2F #BFA13E #CFB86B #DECE99 #EDE4C7

Accessibility & contrast

On white

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

On black

10.72
#CFB86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB86B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB86B#FFFFFF#000000##000000
##CFB86B1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb86b;
/* rgb */ color: rgb(207, 184, 107);
/* oklch */ color: oklch(78.6% 0.101 93.3);
Tailwind
colors: {
  custom: {
    50: '#e0cd97',
    500: '#cfb86b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb86b;
$custom-light: #e0cd97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb86b",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 107
  },
  "hsl": {
    "h": 46.2,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78567,
    "c": 0.10069,
    "h": 93.3
  },
  "luminance": 0.48608
}

Semantic roles & 50–950 ramp

primary
#CFB86B
secondary
#B8C1DE
accent
#4ABE27
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CFB86B

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

Preview Lab → · Contrast checker → · Palette generator →

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