#CFCC86#CFCC86

#CFCC86 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.091 H 106.1°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CFCC86
RGBrgb(207, 204, 134)
HSLhsl(58, 43%, 67%)
HSVhsv(58, 35%, 81%)
CMYKcmyk(0%, 1.4%, 35.3%, 18.8%)
CIE-LABlab(80.84, -9.43, 35.30)
CIE-LCHlch(80.84, 36.54, 104.95°)
OKLaboklab(83.15% -0.0251 0.087)
OKLCHoklch(83.15% 0.091 106.1)
XYZxyz(51.6287, 58.1734, 31.0585)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC86 #8689CF
analogous
#CFA886 #CFCC86 #AECF86
triadic
#CFCC86 #86CFCC #CC86CF
tetradic
#CFCC86 #86CFA8 #8689CF #CF86AE
square
#CFCC86 #86CFA8 #8689CF #CF86AE
split-complementary
#CFCC86 #86AECF #A886CF
monochromatic
#9D993E #BEBA5A #CFCC86 #E0DEB2 #F2F1DE

Accessibility & contrast

On white

1.66
#CFCC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CFCC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC86
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC86#FFFFFF#000000##000000
##CFCC861.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C781
Deuteranopia (green-blind)
#D9CA89
Tritanopia (blue-blind)
#D9C3BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc86;
/* rgb */ color: rgb(207, 204, 134);
/* oklch */ color: oklch(83.1% 0.091 106.1);
Tailwind
colors: {
  custom: {
    50: '#dedbaa',
    500: '#cfcc86',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc86;
$custom-light: #dedbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc86",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 134
  },
  "hsl": {
    "h": 57.534,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83148,
    "c": 0.09054,
    "h": 106.1
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#CFCC86
secondary
#575AA2
accent
#35B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCC86

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

Preview Lab → · Contrast checker → · Palette generator →

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