#CFB96C#CFB96C

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

Color values

HEX#CFB96C
RGBrgb(207, 185, 108)
HSLhsl(47, 51%, 62%)
HSVhsv(47, 48%, 81%)
CMYKcmyk(0%, 10.6%, 47.8%, 18.8%)
CIE-LABlab(75.48, -2.35, 41.73)
CIE-LCHlch(75.48, 41.80, 93.23°)
OKLaboklab(78.79% -0.0069 0.1002)
OKLCHoklch(78.79% 0.1 93.9)
XYZxyz(45.7893, 49.0479, 21.2397)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB96C #6C82CF
analogous
#CF886C #CFB96C #B3CF6C
triadic
#CFB96C #6CCFB9 #B96CCF
tetradic
#CFB96C #6CCF88 #6C82CF #CF6CB3
square
#CFB96C #6CCF88 #6C82CF #CF6CB3
split-complementary
#CFB96C #6CB3CF #886CCF
monochromatic
#917B2F #BFA33E #CFB96C #DECF9A #EDE5C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB96C#FFFFFF#000000##000000
##CFB96C1.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)
#C8B666
Deuteranopia (green-blind)
#CDBD6F
Tritanopia (blue-blind)
#DCAEA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb96c;
/* rgb */ color: rgb(207, 185, 108);
/* oklch */ color: oklch(78.8% 0.100 93.9);
Tailwind
colors: {
  custom: {
    50: '#dfcd97',
    500: '#cfb96c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb96c;
$custom-light: #dfcd97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb96c",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 108
  },
  "hsl": {
    "h": 46.667,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78787,
    "c": 0.10046,
    "h": 93.9
  },
  "luminance": 0.49046
}

Semantic roles & 50–950 ramp

primary
#CFB96C
secondary
#B9C1DE
accent
#49BE27
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB96C

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

Preview Lab → · Contrast checker → · Palette generator →

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