#CFBC71#CFBC71

#CFBC71 is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.098 H 95.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CFBC71
RGBrgb(207, 188, 113)
HSLhsl(48, 49%, 63%)
HSVhsv(48, 45%, 81%)
CMYKcmyk(0%, 9.2%, 45.4%, 18.8%)
CIE-LABlab(76.33, -3.44, 40.26)
CIE-LCHlch(76.33, 40.41, 94.88°)
OKLaboklab(79.48% -0.0095 0.0973)
OKLCHoklch(79.48% 0.098 95.6)
XYZxyz(46.6973, 50.4258, 22.8929)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC71 #7184CF
analogous
#CF8D71 #CFBC71 #B3CF71
triadic
#CFBC71 #71CFBC #BC71CF
tetradic
#CFBC71 #71CF8D #7184CF #CF71B3
square
#CFBC71 #71CF8D #7184CF #CF71B3
split-complementary
#CFBC71 #71B3CF #8D71CF
monochromatic
#948032 #C0A643 #CFBC71 #DED29F #EEE7CC

Accessibility & contrast

On white

1.89
#CFBC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#CFBC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC71
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC71#FFFFFF#000000##000000
##CFBC711.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96B
Deuteranopia (green-blind)
#CFBF74
Tritanopia (blue-blind)
#DCB2AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbc71;
/* rgb */ color: rgb(207, 188, 113);
/* oklch */ color: oklch(79.5% 0.098 95.6);
Tailwind
colors: {
  custom: {
    50: '#dfd09b',
    500: '#cfbc71',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc71;
$custom-light: #dfd09b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc71",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 113
  },
  "hsl": {
    "h": 47.872,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.7948,
    "c": 0.09773,
    "h": 95.6
  },
  "luminance": 0.50424
}

Semantic roles & 50–950 ramp

primary
#CFBC71
secondary
#4B5B9A
accent
#47BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130E
muted
#84837F

Preview Lab

Preview with #CFBC71

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

Preview Lab → · Contrast checker → · Palette generator →

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