#CFBC81#CFBC81

#CFBC81 is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.080 H 92.3°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CFBC81
RGBrgb(207, 188, 129)
HSLhsl(45, 45%, 66%)
HSVhsv(45, 38%, 81%)
CMYKcmyk(0%, 9.2%, 37.7%, 18.8%)
CIE-LABlab(76.57, -1.72, 32.32)
CIE-LCHlch(76.57, 32.37, 93.05°)
OKLaboklab(79.75% -0.0032 0.0799)
OKLCHoklch(79.75% 0.08 92.3)
XYZxyz(47.6787, 50.8184, 28.0620)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC81 #8194CF
analogous
#CF9581 #CFBC81 #BBCF81
triadic
#CFBC81 #81CFBC #BC81CF
tetradic
#CFBC81 #81CF95 #8194CF #CF81BB
square
#CFBC81 #81CF95 #8194CF #CF81BB
split-complementary
#CFBC81 #81BBCF #9581CF
monochromatic
#9B833B #BEA455 #CFBC81 #E0D4AD #F1EBDA

Accessibility & contrast

On white

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

On black

11.16
#CFBC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC81
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC81#FFFFFF#000000##000000
##CFBC811.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BA7D
Deuteranopia (green-blind)
#CDBF83
Tritanopia (blue-blind)
#DBB3AD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbc81;
/* rgb */ color: rgb(207, 188, 129);
/* oklch */ color: oklch(79.7% 0.080 92.3);
Tailwind
colors: {
  custom: {
    50: '#dfd0a6',
    500: '#cfbc81',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc81;
$custom-light: #dfd0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc81",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 129
  },
  "hsl": {
    "h": 45.385,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.07996,
    "h": 92.3
  },
  "luminance": 0.50817
}

Semantic roles & 50–950 ramp

primary
#CFBC81
secondary
#5466A0
accent
#4FB82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBC81

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

Preview Lab → · Contrast checker → · Palette generator →

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