#CFB96E#CFB96E

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

Color values

HEX#CFB96E
RGBrgb(207, 185, 110)
HSLhsl(46, 50%, 62%)
HSVhsv(46, 47%, 81%)
CMYKcmyk(0%, 10.6%, 46.9%, 18.8%)
CIE-LABlab(75.51, -2.16, 40.76)
CIE-LCHlch(75.51, 40.81, 93.03°)
OKLaboklab(78.82% -0.0061 0.0982)
OKLCHoklch(78.82% 0.098 93.6)
XYZxyz(45.8969, 49.0910, 21.8067)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB96E #6E84CF
analogous
#CF896E #CFB96E #B4CF6E
triadic
#CFB96E #6ECFB9 #B96ECF
tetradic
#CFB96E #6ECF89 #6E84CF #CF6EB4
square
#CFB96E #6ECF89 #6E84CF #CF6EB4
split-complementary
#CFB96E #6EB4CF #896ECF
monochromatic
#927C30 #C0A340 #CFB96E #DECF9C #EDE5CA

Accessibility & contrast

On white

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

On black

10.82
#CFB96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB96E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB96E#FFFFFF#000000##000000
##CFB96E1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B668
Deuteranopia (green-blind)
#CDBD71
Tritanopia (blue-blind)
#DCAEA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb96e;
/* rgb */ color: rgb(207, 185, 110);
/* oklch */ color: oklch(78.8% 0.098 93.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd99',
    500: '#cfb96e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb96e;
$custom-light: #dfcd99;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb96e",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 110
  },
  "hsl": {
    "h": 46.392,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.78817,
    "c": 0.09837,
    "h": 93.6
  },
  "luminance": 0.49089
}

Semantic roles & 50–950 ramp

primary
#CFB96E
secondary
#BBC3DE
accent
#4ABE28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB96E

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

Preview Lab → · Contrast checker → · Palette generator →

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