#CFC186#CFC186

#CFC186 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.079 H 96.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CFC186
RGBrgb(207, 193, 134)
HSLhsl(48, 43%, 67%)
HSVhsv(48, 35%, 81%)
CMYKcmyk(0%, 6.8%, 35.3%, 18.8%)
CIE-LABlab(77.95, -3.75, 31.53)
CIE-LCHlch(77.95, 31.75, 96.79°)
OKLaboklab(80.86% -0.0088 0.0782)
OKLCHoklch(80.86% 0.079 96.4)
XYZxyz(49.1059, 53.1280, 30.2176)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC186 #8694CF
analogous
#CF9D86 #CFC186 #B9CF86
triadic
#CFC186 #86CFC1 #C186CF
tetradic
#CFC186 #86CF9D #8694CF #CF86B9
square
#CFC186 #86CF9D #8694CF #CF86B9
split-complementary
#CFC186 #86B9CF #9D86CF
monochromatic
#9D8A3E #BEAB5A #CFC186 #E0D7B2 #F2EEDE

Accessibility & contrast

On white

1.81
#CFC186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CFC186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC186
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC186#FFFFFF#000000##000000
##CFC1861.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE82
Deuteranopia (green-blind)
#D0C388
Tritanopia (blue-blind)
#DAB9B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc186;
/* rgb */ color: rgb(207, 193, 134);
/* oklch */ color: oklch(80.9% 0.079 96.4);
Tailwind
colors: {
  custom: {
    50: '#ded3aa',
    500: '#cfc186',
    950: '#000000',
  },
}
SCSS
$custom: #cfc186;
$custom-light: #ded3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc186",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 134
  },
  "hsl": {
    "h": 48.493,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.80864,
    "c": 0.0787,
    "h": 96.4
  },
  "luminance": 0.53127
}

Semantic roles & 50–950 ramp

primary
#CFC186
secondary
#5765A2
accent
#49B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC186

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

Preview Lab → · Contrast checker → · Palette generator →

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