#CFBB78#CFBB78

#CFBB78 is a light, moderate yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.089 H 93.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CFBB78
RGBrgb(207, 187, 120)
HSLhsl(46, 48%, 64%)
HSVhsv(46, 42%, 81%)
CMYKcmyk(0%, 9.7%, 42%, 18.8%)
CIE-LABlab(76.17, -2.19, 36.48)
CIE-LCHlch(76.17, 36.55, 93.44°)
OKLaboklab(79.39% -0.0053 0.0891)
OKLCHoklch(79.39% 0.089 93.4)
XYZxyz(46.8938, 50.1638, 24.9781)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB78 #788CCF
analogous
#CF9078 #CFBB78 #B8CF78
triadic
#CFBB78 #78CFBB #BB78CF
tetradic
#CFBB78 #78CF90 #788CCF #CF78B8
square
#CFBB78 #78CF90 #788CCF #CF78B8
split-complementary
#CFBB78 #78B8CF #9078CF
monochromatic
#978136 #BFA44B #CFBB78 #DFD2A5 #EFE8D2

Accessibility & contrast

On white

1.90
#CFBB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CFBB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB78
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB78#FFFFFF#000000##000000
##CFBB781.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B873
Deuteranopia (green-blind)
#CEBE7A
Tritanopia (blue-blind)
#DBB1AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbb78;
/* rgb */ color: rgb(207, 187, 120);
/* oklch */ color: oklch(79.4% 0.089 93.4);
Tailwind
colors: {
  custom: {
    50: '#dfcfa0',
    500: '#cfbb78',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb78;
$custom-light: #dfcfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb78",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 120
  },
  "hsl": {
    "h": 46.207,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79386,
    "c": 0.08925,
    "h": 93.4
  },
  "luminance": 0.50162
}

Semantic roles & 50–950 ramp

primary
#CFBB78
secondary
#4E609D
accent
#4CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBB78

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

Preview Lab → · Contrast checker → · Palette generator →

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