#CFC197#CFC197

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

Color values

HEX#CFC197
RGBrgb(207, 193, 151)
HSLhsl(45, 37%, 70%)
HSVhsv(45, 27%, 81%)
CMYKcmyk(0%, 6.8%, 27.1%, 18.8%)
CIE-LABlab(78.25, -1.59, 22.97)
CIE-LCHlch(78.25, 23.03, 93.96°)
OKLaboklab(81.2% -0.0018 0.0582)
OKLCHoklch(81.2% 0.058 91.8)
XYZxyz(50.3883, 53.6409, 36.9715)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC197 #97A5CF
analogous
#CFA597 #CFC197 #C1CF97
triadic
#CFC197 #97CFC1 #C197CF
tetradic
#CFC197 #97CFA5 #97A5CF #CF97C1
square
#CFC197 #97CFA5 #97A5CF #CF97C1
split-complementary
#CFC197 #97C1CF #A597CF
monochromatic
#A18B4A #BCA86D #CFC197 #E2DAC1 #F5F3EA

Accessibility & contrast

On white

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

On black

11.73
#CFC197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC197
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC197#FFFFFF#000000##000000
##CFC1971.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF94
Deuteranopia (green-blind)
#CEC398
Tritanopia (blue-blind)
#D8BAB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc197;
/* rgb */ color: rgb(207, 193, 151);
/* oklch */ color: oklch(81.2% 0.058 91.8);
Tailwind
colors: {
  custom: {
    50: '#ded3b5',
    500: '#cfc197',
    950: '#000000',
  },
}
SCSS
$custom: #cfc197;
$custom-light: #ded3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc197",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 151
  },
  "hsl": {
    "h": 45,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.812,
    "c": 0.05825,
    "h": 91.8
  },
  "luminance": 0.5364
}

Semantic roles & 50–950 ramp

primary
#CFC197
secondary
#6675A5
accent
#54B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC197

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

Preview Lab → · Contrast checker → · Palette generator →

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