#CFCC99#CFCC99

#CFCC99 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.068 H 105.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CFCC99
RGBrgb(207, 204, 153)
HSLhsl(57, 36%, 71%)
HSVhsv(57, 26%, 81%)
CMYKcmyk(0%, 1.4%, 26.1%, 18.8%)
CIE-LABlab(81.16, -7.03, 25.87)
CIE-LCHlch(81.16, 26.81, 105.21°)
OKLaboklab(83.51% -0.0174 0.0652)
OKLCHoklch(83.51% 0.068 105)
XYZxyz(53.0748, 58.7519, 38.6751)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC99 #999CCF
analogous
#CFB199 #CFCC99 #B7CF99
triadic
#CFCC99 #99CFCC #CC99CF
tetradic
#CFCC99 #99CFB1 #999CCF #CF99B7
square
#CFCC99 #99CFB1 #999CCF #CF99B7
split-complementary
#CFCC99 #99B7CF #B199CF
monochromatic
#A29D4C #BBB76F #CFCC99 #E3E1C3 #F5F5EA

Accessibility & contrast

On white

1.65
#CFCC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#CFCC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC99
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC99#FFFFFF#000000##000000
##CFCC991.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C896
Deuteranopia (green-blind)
#D7CB9B
Tritanopia (blue-blind)
#D7C5BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcc99;
/* rgb */ color: rgb(207, 204, 153);
/* oklch */ color: oklch(83.5% 0.068 105.0);
Tailwind
colors: {
  custom: {
    50: '#dedbb7',
    500: '#cfcc99',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc99;
$custom-light: #dedbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc99",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 56.667,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83506,
    "c": 0.06753,
    "h": 105
  },
  "luminance": 0.58751
}

Semantic roles & 50–950 ramp

primary
#CFCC99
secondary
#686BA5
accent
#3DAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCC99

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

Preview Lab → · Contrast checker → · Palette generator →

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