#CFCD99#CFCD99

#CFCD99 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.069 H 106.0°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CFCD99
RGBrgb(207, 205, 153)
HSLhsl(58, 36%, 71%)
HSVhsv(58, 26%, 81%)
CMYKcmyk(0%, 1%, 26.1%, 18.8%)
CIE-LABlab(81.42, -7.55, 26.22)
CIE-LCHlch(81.42, 27.29, 106.06°)
OKLaboklab(83.71% -0.0189 0.0661)
OKLCHoklch(83.71% 0.069 106)
XYZxyz(53.3133, 59.2288, 38.7546)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD99 #999BCF
analogous
#CFB299 #CFCD99 #B6CF99
triadic
#CFCD99 #99CFCD #CD99CF
tetradic
#CFCD99 #99CFB2 #999BCF #CF99B6
square
#CFCD99 #99CFB2 #999BCF #CF99B6
split-complementary
#CFCD99 #99B6CF #B299CF
monochromatic
#A29E4C #BBB96F #CFCD99 #E3E1C3 #F5F5EA

Accessibility & contrast

On white

1.63
#CFCD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CFCD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD99
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD99#FFFFFF#000000##000000
##CFCD991.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd99;
/* rgb */ color: rgb(207, 205, 153);
/* oklch */ color: oklch(83.7% 0.069 106.0);
Tailwind
colors: {
  custom: {
    50: '#dedcb7',
    500: '#cfcd99',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd99;
$custom-light: #dedcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd99",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 57.778,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83714,
    "c": 0.06874,
    "h": 106
  },
  "luminance": 0.59228
}

Semantic roles & 50–950 ramp

primary
#CFCD99
secondary
#686AA5
accent
#3BAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD99

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

Preview Lab → · Contrast checker → · Palette generator →

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