#CFB76F#CFB76F

#CFB76F is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.4% C 0.096 H 91.6°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CFB76F
RGBrgb(207, 183, 111)
HSLhsl(45, 50%, 62%)
HSVhsv(45, 46%, 81%)
CMYKcmyk(0%, 11.6%, 46.4%, 18.8%)
CIE-LABlab(75.00, -1.01, 39.62)
CIE-LCHlch(75.00, 39.63, 91.46°)
OKLaboklab(78.42% -0.0027 0.0957)
OKLCHoklch(78.42% 0.096 91.6)
XYZxyz(45.5362, 48.2820, 21.9566)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB76F #6F87CF
analogous
#CF876F #CFB76F #B7CF6F
triadic
#CFB76F #6FCFB7 #B76FCF
tetradic
#CFB76F #6FCF87 #6F87CF #CF6FB7
square
#CFB76F #6FCF87 #6F87CF #CF6FB7
split-complementary
#CFB76F #6FB7CF #876FCF
monochromatic
#937A31 #C0A041 #CFB76F #DECE9D #EEE5CB

Accessibility & contrast

On white

1.97
#CFB76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CFB76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB76F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB76F#FFFFFF#000000##000000
##CFB76F1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B569
Deuteranopia (green-blind)
#CBBC72
Tritanopia (blue-blind)
#DCADA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb76f;
/* rgb */ color: rgb(207, 183, 111);
/* oklch */ color: oklch(78.4% 0.096 91.6);
Tailwind
colors: {
  custom: {
    50: '#dfcc99',
    500: '#cfb76f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb76f;
$custom-light: #dfcc99;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb76f",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 111
  },
  "hsl": {
    "h": 45,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.78422,
    "c": 0.09573,
    "h": 91.6
  },
  "luminance": 0.4828
}

Semantic roles & 50–950 ramp

primary
#CFB76F
secondary
#BBC4DE
accent
#4DBD28
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB76F

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

Preview Lab → · Contrast checker → · Palette generator →

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