#CFCA86#CFCA86

#CFCA86 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.088 H 104.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CFCA86
RGBrgb(207, 202, 134)
HSLhsl(56, 43%, 67%)
HSVhsv(56, 35%, 81%)
CMYKcmyk(0%, 2.4%, 35.3%, 18.8%)
CIE-LABlab(80.31, -8.41, 34.62)
CIE-LCHlch(80.31, 35.62, 103.65°)
OKLaboklab(82.73% -0.0222 0.0854)
OKLCHoklch(82.73% 0.088 104.6)
XYZxyz(51.1564, 57.2288, 30.9011)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA86 #868BCF
analogous
#CFA686 #CFCA86 #B0CF86
triadic
#CFCA86 #86CFCA #CA86CF
tetradic
#CFCA86 #86CFA6 #868BCF #CF86B0
square
#CFCA86 #86CFA6 #868BCF #CF86B0
split-complementary
#CFCA86 #86B0CF #A686CF
monochromatic
#9D963E #BEB75A #CFCA86 #E0DDB2 #F2F0DE

Accessibility & contrast

On white

1.69
#CFCA86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CFCA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA86
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA86#FFFFFF#000000##000000
##CFCA861.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C581
Deuteranopia (green-blind)
#D8C989
Tritanopia (blue-blind)
#D9C1B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca86;
/* rgb */ color: rgb(207, 202, 134);
/* oklch */ color: oklch(82.7% 0.088 104.6);
Tailwind
colors: {
  custom: {
    50: '#dedaaa',
    500: '#cfca86',
    950: '#000000',
  },
}
SCSS
$custom: #cfca86;
$custom-light: #dedaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca86",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 134
  },
  "hsl": {
    "h": 55.89,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8273,
    "c": 0.08823,
    "h": 104.6
  },
  "luminance": 0.57228
}

Semantic roles & 50–950 ramp

primary
#CFCA86
secondary
#575CA2
accent
#38B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA86

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

Preview Lab → · Contrast checker → · Palette generator →

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