#CFB96D#CFB96D

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

Color values

HEX#CFB96D
RGBrgb(207, 185, 109)
HSLhsl(47, 51%, 62%)
HSVhsv(47, 47%, 81%)
CMYKcmyk(0%, 10.6%, 47.3%, 18.8%)
CIE-LABlab(75.49, -2.26, 41.25)
CIE-LCHlch(75.49, 41.31, 93.13°)
OKLaboklab(78.8% -0.0065 0.0992)
OKLCHoklch(78.8% 0.099 93.7)
XYZxyz(45.8428, 49.0693, 21.5216)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB96D #6D83CF
analogous
#CF886D #CFB96D #B4CF6D
triadic
#CFB96D #6DCFB9 #B96DCF
tetradic
#CFB96D #6DCF88 #6D83CF #CF6DB4
square
#CFB96D #6DCF88 #6D83CF #CF6DB4
split-complementary
#CFB96D #6DB4CF #886DCF
monochromatic
#927C30 #C0A33F #CFB96D #DECF9B #EDE5C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB96D#FFFFFF#000000##000000
##CFB96D1.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)
#C8B667
Deuteranopia (green-blind)
#CDBD70
Tritanopia (blue-blind)
#DCAEA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb96d;
/* rgb */ color: rgb(207, 185, 109);
/* oklch */ color: oklch(78.8% 0.099 93.7);
Tailwind
colors: {
  custom: {
    50: '#dfcd98',
    500: '#cfb96d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb96d;
$custom-light: #dfcd98;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb96d",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 109
  },
  "hsl": {
    "h": 46.531,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78802,
    "c": 0.09942,
    "h": 93.7
  },
  "luminance": 0.49067
}

Semantic roles & 50–950 ramp

primary
#CFB96D
secondary
#BAC2DE
accent
#49BE28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB96D

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

Preview Lab → · Contrast checker → · Palette generator →

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