#CFBF73#CFBF73

#CFBF73 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.098 H 97.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CFBF73
RGBrgb(207, 191, 115)
HSLhsl(50, 49%, 63%)
HSVhsv(50, 44%, 81%)
CMYKcmyk(0%, 7.7%, 44.4%, 18.8%)
CIE-LABlab(77.14, -4.80, 40.27)
CIE-LCHlch(77.14, 40.55, 96.80°)
OKLaboklab(80.13% -0.0133 0.0974)
OKLCHoklch(80.13% 0.098 97.8)
XYZxyz(47.4586, 51.7664, 23.7083)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF73 #7383CF
analogous
#CF9173 #CFBF73 #B1CF73
triadic
#CFBF73 #73CFBF #BF73CF
tetradic
#CFBF73 #73CF91 #7383CF #CF73B1
square
#CFBF73 #73CF91 #7383CF #CF73B1
split-complementary
#CFBF73 #73B1CF #9173CF
monochromatic
#958433 #BFAA45 #CFBF73 #DFD4A1 #EEE9CE

Accessibility & contrast

On white

1.85
#CFBF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CFBF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF73
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF73#FFFFFF#000000##000000
##CFBF731.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6D
Deuteranopia (green-blind)
#D1C176
Tritanopia (blue-blind)
#DCB5AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf73;
/* rgb */ color: rgb(207, 191, 115);
/* oklch */ color: oklch(80.1% 0.098 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfd29c',
    500: '#cfbf73',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf73;
$custom-light: #dfd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf73",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 115
  },
  "hsl": {
    "h": 49.565,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8013,
    "c": 0.0983,
    "h": 97.8
  },
  "luminance": 0.51765
}

Semantic roles & 50–950 ramp

primary
#CFBF73
secondary
#4C599B
accent
#43BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFBF73

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

Preview Lab → · Contrast checker → · Palette generator →

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