#CFBB7F#CFBB7F

#CFBB7F is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.081 H 91.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CFBB7F
RGBrgb(207, 187, 127)
HSLhsl(45, 45%, 65%)
HSVhsv(45, 39%, 81%)
CMYKcmyk(0%, 9.7%, 38.6%, 18.8%)
CIE-LABlab(76.28, -1.43, 32.99)
CIE-LCHlch(76.28, 33.02, 92.47°)
OKLaboklab(79.51% -0.0025 0.0814)
OKLCHoklch(79.51% 0.081 91.8)
XYZxyz(47.3342, 50.3400, 27.2978)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB7F #7F93CF
analogous
#CF937F #CFBB7F #BBCF7F
triadic
#CFBB7F #7FCFBB #BB7FCF
tetradic
#CFBB7F #7FCF93 #7F93CF #CF7FBB
square
#CFBB7F #7FCF93 #7F93CF #CF7FBB
split-complementary
#CFBB7F #7FBBCF #937FCF
monochromatic
#9A823A #BEA352 #CFBB7F #E0D3AC #F0EAD8

Accessibility & contrast

On white

1.90
#CFBB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CFBB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB7F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB7F#FFFFFF#000000##000000
##CFBB7F1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97B
Deuteranopia (green-blind)
#CDBF81
Tritanopia (blue-blind)
#DBB2AC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbb7f;
/* rgb */ color: rgb(207, 187, 127);
/* oklch */ color: oklch(79.5% 0.081 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfcfa5',
    500: '#cfbb7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb7f;
$custom-light: #dfcfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb7f",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79506,
    "c": 0.08141,
    "h": 91.8
  },
  "luminance": 0.50338
}

Semantic roles & 50–950 ramp

primary
#CFBB7F
secondary
#5366A0
accent
#50B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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