#CFBF71#CFBF71

#CFBF71 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.100 H 98.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CFBF71
RGBrgb(207, 191, 113)
HSLhsl(50, 49%, 63%)
HSVhsv(50, 45%, 81%)
CMYKcmyk(0%, 7.7%, 45.4%, 18.8%)
CIE-LABlab(77.11, -5.00, 41.24)
CIE-LCHlch(77.11, 41.54, 96.91°)
OKLaboklab(80.1% -0.014 0.0995)
OKLCHoklch(80.1% 0.1 98)
XYZxyz(47.3448, 51.7209, 23.1088)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF71 #7181CF
analogous
#CF9071 #CFBF71 #B0CF71
triadic
#CFBF71 #71CFBF #BF71CF
tetradic
#CFBF71 #71CF90 #7181CF #CF71B0
square
#CFBF71 #71CF90 #7181CF #CF71B0
split-complementary
#CFBF71 #71B0CF #9071CF
monochromatic
#948332 #C0AA43 #CFBF71 #DED49F #EEE8CC

Accessibility & contrast

On white

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

On black

11.34
#CFBF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF71
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF71#FFFFFF#000000##000000
##CFBF711.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#D1C174
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf71;
/* rgb */ color: rgb(207, 191, 113);
/* oklch */ color: oklch(80.1% 0.100 98.0);
Tailwind
colors: {
  custom: {
    50: '#dfd29b',
    500: '#cfbf71',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf71;
$custom-light: #dfd29b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf71",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 49.787,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80099,
    "c": 0.10044,
    "h": 98
  },
  "luminance": 0.51719
}

Semantic roles & 50–950 ramp

primary
#CFBF71
secondary
#4B589A
accent
#42BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFBF71

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

Preview Lab → · Contrast checker → · Palette generator →

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