#CFBF8E#CFBF8E

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

Color values

HEX#CFBF8E
RGBrgb(207, 191, 142)
HSLhsl(45, 40%, 68%)
HSVhsv(45, 31%, 81%)
CMYKcmyk(0%, 7.7%, 31.4%, 18.8%)
CIE-LABlab(77.57, -1.72, 26.82)
CIE-LCHlch(77.57, 26.87, 93.67°)
OKLaboklab(80.61% -0.0025 0.0673)
OKLCHoklch(80.61% 0.067 92.1)
XYZxyz(49.2460, 52.4814, 33.1217)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF8E #8E9ECF
analogous
#CF9E8E #CFBF8E #BECF8E
triadic
#CFBF8E #8ECFBF #BF8ECF
tetradic
#CFBF8E #8ECF9E #8E9ECF #CF8EBE
square
#CFBF8E #8ECF9E #8E9ECF #CF8EBE
split-complementary
#CFBF8E #8EBECF #9E8ECF
monochromatic
#9F8944 #BDA763 #CFBF8E #E1D7B9 #F3F0E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF8E#FFFFFF#000000##000000
##CFBF8E1.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)
#CABD8B
Deuteranopia (green-blind)
#CEC290
Tritanopia (blue-blind)
#D9B7B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfbf8e;
/* rgb */ color: rgb(207, 191, 142);
/* oklch */ color: oklch(80.6% 0.067 92.1);
Tailwind
colors: {
  custom: {
    50: '#ded2af',
    500: '#cfbf8e',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf8e;
$custom-light: #ded2af;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf8e",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 142
  },
  "hsl": {
    "h": 45.231,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.80606,
    "c": 0.06735,
    "h": 92.1
  },
  "luminance": 0.5248
}

Semantic roles & 50–950 ramp

primary
#CFBF8E
secondary
#5D6EA4
accent
#52B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFBF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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