#CFCA96#CFCA96

#CFCA96 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.069 H 103.2°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CFCA96
RGBrgb(207, 202, 150)
HSLhsl(55, 37%, 70%)
HSVhsv(55, 28%, 81%)
CMYKcmyk(0%, 2.4%, 27.5%, 18.8%)
CIE-LABlab(80.58, -6.41, 26.66)
CIE-LCHlch(80.58, 27.42, 103.51°)
OKLaboklab(83.03% -0.0157 0.0671)
OKLCHoklch(83.03% 0.069 103.2)
XYZxyz(52.3579, 57.7094, 37.2291)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA96 #969BCF
analogous
#CFAE96 #CFCA96 #B7CF96
triadic
#CFCA96 #96CFCA #CA96CF
tetradic
#CFCA96 #96CFAE #969BCF #CF96B7
square
#CFCA96 #96CFAE #969BCF #CF96B7
split-complementary
#CFCA96 #96B7CF #AE96CF
monochromatic
#A1994A #BCB56C #CFCA96 #E2DFC0 #F5F4EA

Accessibility & contrast

On white

1.67
#CFCA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA96
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA96#FFFFFF#000000##000000
##CFCA961.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C693
Deuteranopia (green-blind)
#D5C998
Tritanopia (blue-blind)
#D8C3BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca96;
/* rgb */ color: rgb(207, 202, 150);
/* oklch */ color: oklch(83.0% 0.069 103.2);
Tailwind
colors: {
  custom: {
    50: '#dedab5',
    500: '#cfca96',
    950: '#000000',
  },
}
SCSS
$custom: #cfca96;
$custom-light: #dedab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca96",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 150
  },
  "hsl": {
    "h": 54.737,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.83031,
    "c": 0.06889,
    "h": 103.2
  },
  "luminance": 0.57708
}

Semantic roles & 50–950 ramp

primary
#CFCA96
secondary
#656AA5
accent
#40B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCA96

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

Preview Lab → · Contrast checker → · Palette generator →

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