#CFBA6F#CFBA6F

#CFBA6F is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.098 H 94.2°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CFBA6F
RGBrgb(207, 186, 111)
HSLhsl(47, 50%, 62%)
HSVhsv(47, 46%, 81%)
CMYKcmyk(0%, 10.1%, 46.4%, 18.8%)
CIE-LABlab(75.78, -2.59, 40.59)
CIE-LCHlch(75.78, 40.67, 93.65°)
OKLaboklab(79.04% -0.0072 0.0979)
OKLCHoklch(79.04% 0.098 94.2)
XYZxyz(46.1616, 49.5327, 22.1650)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA6F #6F84CF
analogous
#CF8A6F #CFBA6F #B4CF6F
triadic
#CFBA6F #6FCFBA #BA6FCF
tetradic
#CFBA6F #6FCF8A #6F84CF #CF6FB4
square
#CFBA6F #6FCF8A #6F84CF #CF6FB4
split-complementary
#CFBA6F #6FB4CF #8A6FCF
monochromatic
#937D31 #C0A441 #CFBA6F #DED09D #EEE6CB

Accessibility & contrast

On white

1.93
#CFBA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CFBA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA6F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA6F#FFFFFF#000000##000000
##CFBA6F1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfba6f;
/* rgb */ color: rgb(207, 186, 111);
/* oklch */ color: oklch(79.0% 0.098 94.2);
Tailwind
colors: {
  custom: {
    50: '#dfce99',
    500: '#cfba6f',
    950: '#000000',
  },
}
SCSS
$custom: #cfba6f;
$custom-light: #dfce99;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba6f",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 111
  },
  "hsl": {
    "h": 46.875,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79037,
    "c": 0.09815,
    "h": 94.2
  },
  "luminance": 0.49531
}

Semantic roles & 50–950 ramp

primary
#CFBA6F
secondary
#BBC3DE
accent
#49BD28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFBA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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