#CFB96A#CFB96A

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

Color values

HEX#CFB96A
RGBrgb(207, 185, 106)
HSLhsl(47, 51%, 61%)
HSVhsv(47, 49%, 81%)
CMYKcmyk(0%, 10.6%, 48.8%, 18.8%)
CIE-LABlab(75.45, -2.54, 42.71)
CIE-LCHlch(75.45, 42.78, 93.40°)
OKLaboklab(78.76% -0.0076 0.1022)
OKLCHoklch(78.76% 0.103 94.3)
XYZxyz(45.6841, 49.0058, 20.6855)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB96A #6A80CF
analogous
#CF876A #CFB96A #B3CF6A
triadic
#CFB96A #6ACFB9 #B96ACF
tetradic
#CFB96A #6ACF87 #6A80CF #CF6AB3
square
#CFB96A #6ACF87 #6A80CF #CF6AB3
split-complementary
#CFB96A #6AB3CF #876ACF
monochromatic
#907B2E #BEA23D #CFB96A #DECF98 #EDE4C7

Accessibility & contrast

On white

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

On black

10.80
#CFB96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB96A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB96A#FFFFFF#000000##000000
##CFB96A1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb96a;
/* rgb */ color: rgb(207, 185, 106);
/* oklch */ color: oklch(78.8% 0.103 94.3);
Tailwind
colors: {
  custom: {
    50: '#e0cd96',
    500: '#cfb96a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb96a;
$custom-light: #e0cd96;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb96a",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 106
  },
  "hsl": {
    "h": 46.931,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78758,
    "c": 0.10253,
    "h": 94.3
  },
  "luminance": 0.49004
}

Semantic roles & 50–950 ramp

primary
#CFB96A
secondary
#B8C0DD
accent
#48BF27
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CFB96A

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

Preview Lab → · Contrast checker → · Palette generator →

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