#CFCB96#CFCB96

#CFCB96 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.070 H 104.2°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CFCB96
RGBrgb(207, 203, 150)
HSLhsl(56, 37%, 70%)
HSVhsv(56, 28%, 81%)
CMYKcmyk(0%, 1.9%, 27.5%, 18.8%)
CIE-LABlab(80.84, -6.92, 27.01)
CIE-LCHlch(80.84, 27.89, 104.37°)
OKLaboklab(83.24% -0.0172 0.0679)
OKLCHoklch(83.24% 0.07 104.2)
XYZxyz(52.5933, 58.1802, 37.3076)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB96 #969ACF
analogous
#CFAE96 #CFCB96 #B7CF96
triadic
#CFCB96 #96CFCB #CB96CF
tetradic
#CFCB96 #96CFAE #969ACF #CF96B7
square
#CFCB96 #96CFAE #969ACF #CF96B7
split-complementary
#CFCB96 #96B7CF #AE96CF
monochromatic
#A19B4A #BCB66C #CFCB96 #E2E0C0 #F5F5EA

Accessibility & contrast

On white

1.66
#CFCB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CFCB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB96
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB96#FFFFFF#000000##000000
##CFCB961.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C793
Deuteranopia (green-blind)
#D6CA98
Tritanopia (blue-blind)
#D7C4BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcb96;
/* rgb */ color: rgb(207, 203, 150);
/* oklch */ color: oklch(83.2% 0.070 104.2);
Tailwind
colors: {
  custom: {
    50: '#dedab5',
    500: '#cfcb96',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb96;
$custom-light: #dedab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb96",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 150
  },
  "hsl": {
    "h": 55.789,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.83238,
    "c": 0.07007,
    "h": 104.2
  },
  "luminance": 0.58179
}

Semantic roles & 50–950 ramp

primary
#CFCB96
secondary
#6569A5
accent
#3EB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCB96

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

Preview Lab → · Contrast checker → · Palette generator →

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