#CFCA99#CFCA99

#CFCA99 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.065 H 102.8°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CFCA99
RGBrgb(207, 202, 153)
HSLhsl(54, 36%, 71%)
HSVhsv(54, 26%, 81%)
CMYKcmyk(0%, 2.4%, 26.1%, 18.8%)
CIE-LABlab(80.63, -6.00, 25.16)
CIE-LCHlch(80.63, 25.86, 103.42°)
OKLaboklab(83.09% -0.0145 0.0635)
OKLCHoklch(83.09% 0.065 102.8)
XYZxyz(52.6025, 57.8073, 38.5177)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA99 #999ECF
analogous
#CFAF99 #CFCA99 #B9CF99
triadic
#CFCA99 #99CFCA #CA99CF
tetradic
#CFCA99 #99CFAF #999ECF #CF99B9
square
#CFCA99 #99CFAF #999ECF #CF99B9
split-complementary
#CFCA99 #99B9CF #AF99CF
monochromatic
#A29A4C #BBB46F #CFCA99 #E3E0C3 #F5F4EA

Accessibility & contrast

On white

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

On black

12.56
#CFCA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA99
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA99#FFFFFF#000000##000000
##CFCA991.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C696
Deuteranopia (green-blind)
#D5C99B
Tritanopia (blue-blind)
#D7C3BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca99;
/* rgb */ color: rgb(207, 202, 153);
/* oklch */ color: oklch(83.1% 0.065 102.8);
Tailwind
colors: {
  custom: {
    50: '#dedab7',
    500: '#cfca99',
    950: '#000000',
  },
}
SCSS
$custom: #cfca99;
$custom-light: #dedab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca99",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 153
  },
  "hsl": {
    "h": 54.444,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83092,
    "c": 0.06516,
    "h": 102.8
  },
  "luminance": 0.57806
}

Semantic roles & 50–950 ramp

primary
#CFCA99
secondary
#686DA5
accent
#42AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCA99

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

Preview Lab → · Contrast checker → · Palette generator →

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