#CFBF7F#CFBF7F

#CFBF7F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.085 H 95.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CFBF7F
RGBrgb(207, 191, 127)
HSLhsl(48, 45%, 65%)
HSVhsv(48, 39%, 81%)
CMYKcmyk(0%, 7.7%, 38.6%, 18.8%)
CIE-LABlab(77.32, -3.52, 34.34)
CIE-LCHlch(77.32, 34.52, 95.85°)
OKLaboklab(80.33% -0.0086 0.0845)
OKLCHoklch(80.33% 0.085 95.8)
XYZxyz(48.1946, 52.0608, 27.5846)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF7F #7F8FCF
analogous
#CF977F #CFBF7F #B7CF7F
triadic
#CFBF7F #7FCFBF #BF7FCF
tetradic
#CFBF7F #7FCF97 #7F8FCF #CF7FB7
square
#CFBF7F #7FCF97 #7F8FCF #CF7FB7
split-complementary
#CFBF7F #7FB7CF #977FCF
monochromatic
#9A873A #BEA952 #CFBF7F #E0D5AC #F0ECD8

Accessibility & contrast

On white

1.84
#CFBF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CFBF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF7F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF7F#FFFFFF#000000##000000
##CFBF7F1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7A
Deuteranopia (green-blind)
#D0C181
Tritanopia (blue-blind)
#DBB6AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfbf7f;
/* rgb */ color: rgb(207, 191, 127);
/* oklch */ color: oklch(80.3% 0.085 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfd2a5',
    500: '#cfbf7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf7f;
$custom-light: #dfd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf7f",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 127
  },
  "hsl": {
    "h": 48,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80327,
    "c": 0.08492,
    "h": 95.8
  },
  "luminance": 0.52059
}

Semantic roles & 50–950 ramp

primary
#CFBF7F
secondary
#5362A0
accent
#49B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFBF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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