#CFBA78#CFBA78

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

Color values

HEX#CFBA78
RGBrgb(207, 186, 120)
HSLhsl(46, 48%, 64%)
HSVhsv(46, 42%, 81%)
CMYKcmyk(0%, 10.1%, 42%, 18.8%)
CIE-LABlab(75.91, -1.67, 36.15)
CIE-LCHlch(75.91, 36.19, 92.64°)
OKLaboklab(79.18% -0.0037 0.0883)
OKLCHoklch(79.18% 0.088 92.4)
XYZxyz(46.6824, 49.7410, 24.9076)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA78 #788DCF
analogous
#CF8F78 #CFBA78 #B9CF78
triadic
#CFBA78 #78CFBA #BA78CF
tetradic
#CFBA78 #78CF8F #788DCF #CF78B9
square
#CFBA78 #78CF8F #788DCF #CF78B9
split-complementary
#CFBA78 #78B9CF #8F78CF
monochromatic
#977F36 #BFA34B #CFBA78 #DFD1A5 #EFE8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA78#FFFFFF#000000##000000
##CFBA781.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)
#C7B773
Deuteranopia (green-blind)
#CDBE7A
Tritanopia (blue-blind)
#DCB0AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfba78;
/* rgb */ color: rgb(207, 186, 120);
/* oklch */ color: oklch(79.2% 0.088 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfcea0',
    500: '#cfba78',
    950: '#000000',
  },
}
SCSS
$custom: #cfba78;
$custom-light: #dfcea0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba78",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 120
  },
  "hsl": {
    "h": 45.517,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79181,
    "c": 0.08841,
    "h": 92.4
  },
  "luminance": 0.49739
}

Semantic roles & 50–950 ramp

primary
#CFBA78
secondary
#C2CAE1
accent
#4DBB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CFBA78

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

Preview Lab → · Contrast checker → · Palette generator →

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