#CFBF5F#CFBF5F

#CFBF5F is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.119 H 100.0°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CFBF5F
RGBrgb(207, 191, 95)
HSLhsl(51, 54%, 59%)
HSVhsv(51, 54%, 81%)
CMYKcmyk(0%, 7.7%, 54.1%, 18.8%)
CIE-LABlab(76.89, -6.62, 49.81)
CIE-LCHlch(76.89, 50.25, 97.57°)
OKLaboklab(79.85% -0.0206 0.1168)
OKLCHoklch(79.85% 0.119 100)
XYZxyz(46.4300, 51.3550, 18.2910)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF5F #5F6FCF
analogous
#CF875F #CFBF5F #A7CF5F
triadic
#CFBF5F #5FCFBF #BF5FCF
tetradic
#CFBF5F #5FCF87 #5F6FCF #CF5FA7
square
#CFBF5F #5FCF87 #5F6FCF #CF5FA7
split-complementary
#CFBF5F #5FA7CF #875FCF
monochromatic
#8A7C29 #B9A738 #CFBF5F #DDD28E #EBE5BD

Accessibility & contrast

On white

1.86
#CFBF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CFBF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF5F
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF5F#FFFFFF#000000##000000
##CFBF5F1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#DDB3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf5f;
/* rgb */ color: rgb(207, 191, 95);
/* oklch */ color: oklch(79.9% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#e0d28f',
    500: '#cfbf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf5f;
$custom-light: #e0d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf5f",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 51.429,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.11864,
    "h": 100
  },
  "luminance": 0.51353
}

Semantic roles & 50–950 ramp

primary
#CFBF5F
secondary
#414D91
accent
#60DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFBF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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