#CFBC82#CFBC82

#CFBC82 is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.8% C 0.079 H 92.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CFBC82
RGBrgb(207, 188, 130)
HSLhsl(45, 45%, 66%)
HSVhsv(45, 37%, 81%)
CMYKcmyk(0%, 9.2%, 37.2%, 18.8%)
CIE-LABlab(76.59, -1.61, 31.82)
CIE-LCHlch(76.59, 31.86, 92.89°)
OKLaboklab(79.76% -0.0028 0.0788)
OKLCHoklch(79.76% 0.079 92.1)
XYZxyz(47.7455, 50.8451, 28.4138)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC82 #8295CF
analogous
#CF9582 #CFBC82 #BBCF82
triadic
#CFBC82 #82CFBC #BC82CF
tetradic
#CFBC82 #82CF95 #8295CF #CF82BB
square
#CFBC82 #82CF95 #8295CF #CF82BB
split-complementary
#CFBC82 #82BBCF #9582CF
monochromatic
#9B833C #BEA456 #CFBC82 #E0D4AE #F1EBDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBC82#FFFFFF#000000##000000
##CFBC821.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)
#C8BA7E
Deuteranopia (green-blind)
#CDBF84
Tritanopia (blue-blind)
#DBB3AD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbc82;
/* rgb */ color: rgb(207, 188, 130);
/* oklch */ color: oklch(79.8% 0.079 92.1);
Tailwind
colors: {
  custom: {
    50: '#dfd0a7',
    500: '#cfbc82',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc82;
$custom-light: #dfd0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc82",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 130
  },
  "hsl": {
    "h": 45.195,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.79764,
    "c": 0.07882,
    "h": 92.1
  },
  "luminance": 0.50844
}

Semantic roles & 50–950 ramp

primary
#CFBC82
secondary
#5467A1
accent
#50B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBC82

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

Preview Lab → · Contrast checker → · Palette generator →

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