#CFBA79#CFBA79

#CFBA79 is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.087 H 92.2°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CFBA79
RGBrgb(207, 186, 121)
HSLhsl(45, 47%, 64%)
HSVhsv(45, 42%, 81%)
CMYKcmyk(0%, 10.1%, 41.5%, 18.8%)
CIE-LABlab(75.92, -1.56, 35.65)
CIE-LCHlch(75.92, 35.68, 92.51°)
OKLaboklab(79.2% -0.0034 0.0872)
OKLCHoklch(79.2% 0.087 92.2)
XYZxyz(46.7434, 49.7654, 25.2289)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA79 #798ECF
analogous
#CF8F79 #CFBA79 #B9CF79
triadic
#CFBA79 #79CFBA #BA79CF
tetradic
#CFBA79 #79CF8F #798ECF #CF79B9
square
#CFBA79 #79CF8F #798ECF #CF79B9
split-complementary
#CFBA79 #79B9CF #8F79CF
monochromatic
#978036 #BFA34C #CFBA79 #DFD1A6 #EFE8D3

Accessibility & contrast

On white

1.92
#CFBA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#CFBA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA79
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA79#FFFFFF#000000##000000
##CFBA791.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B874
Deuteranopia (green-blind)
#CDBE7B
Tritanopia (blue-blind)
#DBB0AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfba79;
/* rgb */ color: rgb(207, 186, 121);
/* oklch */ color: oklch(79.2% 0.087 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfcea0',
    500: '#cfba79',
    950: '#000000',
  },
}
SCSS
$custom: #cfba79;
$custom-light: #dfcea0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba79",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 121
  },
  "hsl": {
    "h": 45.349,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.79197,
    "c": 0.0873,
    "h": 92.2
  },
  "luminance": 0.49764
}

Semantic roles & 50–950 ramp

primary
#CFBA79
secondary
#C3CAE1
accent
#4EBB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CFBA79

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

Preview Lab → · Contrast checker → · Palette generator →

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