#CFB86A#CFB86A

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

Color values

HEX#CFB86A
RGBrgb(207, 184, 106)
HSLhsl(46, 51%, 61%)
HSVhsv(46, 49%, 81%)
CMYKcmyk(0%, 11.1%, 48.8%, 18.8%)
CIE-LABlab(75.19, -2.02, 42.39)
CIE-LCHlch(75.19, 42.44, 92.72°)
OKLaboklab(78.55% -0.0061 0.1015)
OKLCHoklch(78.55% 0.102 93.4)
XYZxyz(45.4756, 48.5889, 20.6161)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB86A #6A81CF
analogous
#CF866A #CFB86A #B4CF6A
triadic
#CFB86A #6ACFB8 #B86ACF
tetradic
#CFB86A #6ACF86 #6A81CF #CF6AB4
square
#CFB86A #6ACF86 #6A81CF #CF6AB4
split-complementary
#CFB86A #6AB4CF #866ACF
monochromatic
#907A2E #BEA13D #CFB86A #DECE98 #EDE4C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB86A#FFFFFF#000000##000000
##CFB86A1.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)
#C7B564
Deuteranopia (green-blind)
#CDBC6D
Tritanopia (blue-blind)
#DDADA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb86a;
/* rgb */ color: rgb(207, 184, 106);
/* oklch */ color: oklch(78.6% 0.102 93.4);
Tailwind
colors: {
  custom: {
    50: '#e0cd96',
    500: '#cfb86a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb86a;
$custom-light: #e0cd96;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb86a",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 106
  },
  "hsl": {
    "h": 46.337,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78552,
    "c": 0.10172,
    "h": 93.4
  },
  "luminance": 0.48587
}

Semantic roles & 50–950 ramp

primary
#CFB86A
secondary
#B8C0DD
accent
#49BF27
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CFB86A

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

Preview Lab → · Contrast checker → · Palette generator →

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