#CFC196#CFC196

#CFC196 is a light, muted yellow. Relative luminance 0.536; OKLCH L 81.2% C 0.059 H 92.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CFC196
RGBrgb(207, 193, 150)
HSLhsl(45, 37%, 70%)
HSVhsv(45, 28%, 81%)
CMYKcmyk(0%, 6.8%, 27.5%, 18.8%)
CIE-LABlab(78.23, -1.72, 23.48)
CIE-LCHlch(78.23, 23.54, 94.20°)
OKLaboklab(81.18% -0.0022 0.0594)
OKLCHoklch(81.18% 0.059 92.2)
XYZxyz(50.3075, 53.6086, 36.5457)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC196 #96A4CF
analogous
#CFA496 #CFC196 #C1CF96
triadic
#CFC196 #96CFC1 #C196CF
tetradic
#CFC196 #96CFA4 #96A4CF #CF96C1
square
#CFC196 #96CFA4 #96A4CF #CF96C1
split-complementary
#CFC196 #96C1CF #A496CF
monochromatic
#A18C4A #BCA86C #CFC196 #E2DAC0 #F5F3EA

Accessibility & contrast

On white

1.79
#CFC196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CFC196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC196
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC196#FFFFFF#000000##000000
##CFC1961.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF93
Deuteranopia (green-blind)
#CEC397
Tritanopia (blue-blind)
#D8BAB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc196;
/* rgb */ color: rgb(207, 193, 150);
/* oklch */ color: oklch(81.2% 0.059 92.2);
Tailwind
colors: {
  custom: {
    50: '#ded3b5',
    500: '#cfc196',
    950: '#000000',
  },
}
SCSS
$custom: #cfc196;
$custom-light: #ded3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc196",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 150
  },
  "hsl": {
    "h": 45.263,
    "s": 37.255,
    "l": 70
  },
  "oklch": {
    "l": 0.81179,
    "c": 0.05946,
    "h": 92.2
  },
  "luminance": 0.53607
}

Semantic roles & 50–950 ramp

primary
#CFC196
secondary
#6574A5
accent
#53B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC196

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

Preview Lab → · Contrast checker → · Palette generator →

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