#CFBF8F#CFBF8F

#CFBF8F is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.066 H 91.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CFBF8F
RGBrgb(207, 191, 143)
HSLhsl(45, 40%, 69%)
HSVhsv(45, 31%, 81%)
CMYKcmyk(0%, 7.7%, 30.9%, 18.8%)
CIE-LABlab(77.59, -1.59, 26.31)
CIE-LCHlch(77.59, 26.36, 93.47°)
OKLaboklab(80.63% -0.0021 0.0661)
OKLCHoklch(80.63% 0.066 91.8)
XYZxyz(49.3214, 52.5115, 33.5189)
Luminance0.5251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF8F #8F9FCF
analogous
#CF9F8F #CFBF8F #BFCF8F
triadic
#CFBF8F #8FCFBF #BF8FCF
tetradic
#CFBF8F #8FCF9F #8F9FCF #CF8FBF
square
#CFBF8F #8FCF9F #8F9FCF #CF8FBF
split-complementary
#CFBF8F #8FBFCF #9F8FCF
monochromatic
#9F8944 #BDA764 #CFBF8F #E1D7BA #F4F0E5

Accessibility & contrast

On white

1.83
#CFBF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CFBF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF8F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF8F#FFFFFF#000000##000000
##CFBF8F1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BD8C
Deuteranopia (green-blind)
#CEC291
Tritanopia (blue-blind)
#D9B8B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfbf8f;
/* rgb */ color: rgb(207, 191, 143);
/* oklch */ color: oklch(80.6% 0.066 91.8);
Tailwind
colors: {
  custom: {
    50: '#ded2b0',
    500: '#cfbf8f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf8f;
$custom-light: #ded2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf8f",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 143
  },
  "hsl": {
    "h": 45,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.80627,
    "c": 0.06614,
    "h": 91.8
  },
  "luminance": 0.5251
}

Semantic roles & 50–950 ramp

primary
#CFBF8F
secondary
#5E6FA4
accent
#53B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFBF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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