#CFCF99#CFCF99

#CFCF99 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.071 H 107.8°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#CFCF99
RGBrgb(207, 207, 153)
HSLhsl(60, 36%, 71%)
HSVhsv(60, 26%, 81%)
CMYKcmyk(0%, 0%, 26.1%, 18.8%)
CIE-LABlab(81.94, -8.57, 26.93)
CIE-LCHlch(81.94, 28.27, 107.66°)
OKLaboklab(84.13% -0.0218 0.0678)
OKLCHoklch(84.13% 0.071 107.8)
XYZxyz(53.7948, 60.1917, 38.9151)
Luminance0.6019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF99 #9999CF
analogous
#CFB499 #CFCF99 #B4CF99
triadic
#CFCF99 #99CFCF #CF99CF
tetradic
#CFCF99 #99CFB4 #9999CF #CF99B4
square
#CFCF99 #99CFB4 #9999CF #CF99B4
split-complementary
#CFCF99 #99B4CF #B499CF
monochromatic
#A2A24C #BBBB6F #CFCF99 #E3E3C3 #F5F5EA

Accessibility & contrast

On white

1.61
#CFCF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#CFCF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF99
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF99#FFFFFF#000000##000000
##CFCF991.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA95
Deuteranopia (green-blind)
#D9CD9B
Tritanopia (blue-blind)
#D7C8C1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfcf99;
/* rgb */ color: rgb(207, 207, 153);
/* oklch */ color: oklch(84.1% 0.071 107.8);
Tailwind
colors: {
  custom: {
    50: '#deddb7',
    500: '#cfcf99',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf99;
$custom-light: #deddb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf99",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8413,
    "c": 0.07122,
    "h": 107.8
  },
  "luminance": 0.60191
}

Semantic roles & 50–950 ramp

primary
#CFCF99
secondary
#6868A5
accent
#37AF37
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCF99

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

Preview Lab → · Contrast checker → · Palette generator →

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