#CFBD71#CFBD71

#CFBD71 is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.7% C 0.099 H 96.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CFBD71
RGBrgb(207, 189, 113)
HSLhsl(49, 49%, 63%)
HSVhsv(49, 45%, 81%)
CMYKcmyk(0%, 8.7%, 45.4%, 18.8%)
CIE-LABlab(76.59, -3.96, 40.59)
CIE-LCHlch(76.59, 40.78, 95.57°)
OKLaboklab(79.69% -0.011 0.098)
OKLCHoklch(79.69% 0.099 96.4)
XYZxyz(46.9116, 50.8545, 22.9644)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD71 #7183CF
analogous
#CF8E71 #CFBD71 #B2CF71
triadic
#CFBD71 #71CFBD #BD71CF
tetradic
#CFBD71 #71CF8E #7183CF #CF71B2
square
#CFBD71 #71CF8E #7183CF #CF71B2
split-complementary
#CFBD71 #71B2CF #8E71CF
monochromatic
#948132 #C0A843 #CFBD71 #DED29F #EEE8CC

Accessibility & contrast

On white

1.88
#CFBD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CFBD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD71
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD71#FFFFFF#000000##000000
##CFBD711.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB96B
Deuteranopia (green-blind)
#D0C074
Tritanopia (blue-blind)
#DCB3AB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbd71;
/* rgb */ color: rgb(207, 189, 113);
/* oklch */ color: oklch(79.7% 0.099 96.4);
Tailwind
colors: {
  custom: {
    50: '#dfd09b',
    500: '#cfbd71',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd71;
$custom-light: #dfd09b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd71",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 113
  },
  "hsl": {
    "h": 48.511,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79686,
    "c": 0.09862,
    "h": 96.4
  },
  "luminance": 0.50853
}

Semantic roles & 50–950 ramp

primary
#CFBD71
secondary
#4B5A9A
accent
#45BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFBD71

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

Preview Lab → · Contrast checker → · Palette generator →

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