#CFB76C#CFB76C

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

Color values

HEX#CFB76C
RGBrgb(207, 183, 108)
HSLhsl(45, 51%, 62%)
HSVhsv(45, 48%, 81%)
CMYKcmyk(0%, 11.6%, 47.8%, 18.8%)
CIE-LABlab(74.96, -1.30, 41.09)
CIE-LCHlch(74.96, 41.11, 91.81°)
OKLaboklab(78.38% -0.0038 0.0988)
OKLCHoklch(78.38% 0.099 92.2)
XYZxyz(45.3738, 48.2170, 21.1012)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB76C #6C84CF
analogous
#CF866C #CFB76C #B5CF6C
triadic
#CFB76C #6CCFB7 #B76CCF
tetradic
#CFB76C #6CCF86 #6C84CF #CF6CB5
square
#CFB76C #6CCF86 #6C84CF #CF6CB5
split-complementary
#CFB76C #6CB5CF #866CCF
monochromatic
#91792F #BFA03E #CFB76C #DECE9A #EDE4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB76C#FFFFFF#000000##000000
##CFB76C1.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)
#C6B466
Deuteranopia (green-blind)
#CCBC6F
Tritanopia (blue-blind)
#DDACA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb76c;
/* rgb */ color: rgb(207, 183, 108);
/* oklch */ color: oklch(78.4% 0.099 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfcc97',
    500: '#cfb76c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb76c;
$custom-light: #dfcc97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb76c",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 108
  },
  "hsl": {
    "h": 45.455,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78377,
    "c": 0.09886,
    "h": 92.2
  },
  "luminance": 0.48215
}

Semantic roles & 50–950 ramp

primary
#CFB76C
secondary
#B9C2DE
accent
#4CBE27
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB76C

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

Preview Lab → · Contrast checker → · Palette generator →

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