#CFB96B#CFB96B

#CFB96B is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.102 H 94.1°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CFB96B
RGBrgb(207, 185, 107)
HSLhsl(47, 51%, 62%)
HSVhsv(47, 48%, 81%)
CMYKcmyk(0%, 10.6%, 48.3%, 18.8%)
CIE-LABlab(75.47, -2.45, 42.22)
CIE-LCHlch(75.47, 42.29, 93.32°)
OKLaboklab(78.77% -0.0072 0.1012)
OKLCHoklch(78.77% 0.102 94.1)
XYZxyz(45.7364, 49.0267, 20.9610)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB96B #6B81CF
analogous
#CF876B #CFB96B #B3CF6B
triadic
#CFB96B #6BCFB9 #B96BCF
tetradic
#CFB96B #6BCF87 #6B81CF #CF6BB3
square
#CFB96B #6BCF87 #6B81CF #CF6BB3
split-complementary
#CFB96B #6BB3CF #876BCF
monochromatic
#917B2F #BFA33E #CFB96B #DECF99 #EDE5C7

Accessibility & contrast

On white

1.94
#CFB96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CFB96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB96B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB96B#FFFFFF#000000##000000
##CFB96B1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B665
Deuteranopia (green-blind)
#CDBD6E
Tritanopia (blue-blind)
#DDAEA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb96b;
/* rgb */ color: rgb(207, 185, 107);
/* oklch */ color: oklch(78.8% 0.102 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfcd97',
    500: '#cfb96b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb96b;
$custom-light: #dfcd97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb96b",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 107
  },
  "hsl": {
    "h": 46.8,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78772,
    "c": 0.1015,
    "h": 94.1
  },
  "luminance": 0.49025
}

Semantic roles & 50–950 ramp

primary
#CFB96B
secondary
#B8C0DE
accent
#48BE27
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CFB96B

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

Preview Lab → · Contrast checker → · Palette generator →

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