#CFB76B#CFB76B

#CFB76B is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.4% C 0.100 H 92.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CFB76B
RGBrgb(207, 183, 107)
HSLhsl(46, 51%, 62%)
HSVhsv(46, 48%, 81%)
CMYKcmyk(0%, 11.6%, 48.3%, 18.8%)
CIE-LABlab(74.95, -1.40, 41.58)
CIE-LCHlch(74.95, 41.60, 91.92°)
OKLaboklab(78.36% -0.0042 0.0998)
OKLCHoklch(78.36% 0.1 92.4)
XYZxyz(45.3209, 48.1958, 20.8225)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB76B #6B83CF
analogous
#CF856B #CFB76B #B5CF6B
triadic
#CFB76B #6BCFB7 #B76BCF
tetradic
#CFB76B #6BCF85 #6B83CF #CF6BB5
square
#CFB76B #6BCF85 #6B83CF #CF6BB5
split-complementary
#CFB76B #6BB5CF #856BCF
monochromatic
#91792F #BFA03E #CFB76B #DECD99 #EDE4C7

Accessibility & contrast

On white

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

On black

10.64
#CFB76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB76B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB76B#FFFFFF#000000##000000
##CFB76B1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B465
Deuteranopia (green-blind)
#CCBC6E
Tritanopia (blue-blind)
#DDACA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb76b;
/* rgb */ color: rgb(207, 183, 107);
/* oklch */ color: oklch(78.4% 0.100 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0cc97',
    500: '#cfb76b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb76b;
$custom-light: #e0cc97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb76b",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 107
  },
  "hsl": {
    "h": 45.6,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78362,
    "c": 0.0999,
    "h": 92.4
  },
  "luminance": 0.48194
}

Semantic roles & 50–950 ramp

primary
#CFB76B
secondary
#B8C1DE
accent
#4BBE27
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CFB76B

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

Preview Lab → · Contrast checker → · Palette generator →

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