#CFC686#CFC686

#CFC686 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.084 H 101.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CFC686
RGBrgb(207, 198, 134)
HSLhsl(53, 43%, 67%)
HSVhsv(53, 35%, 81%)
CMYKcmyk(0%, 4.3%, 35.3%, 18.8%)
CIE-LABlab(79.26, -6.35, 33.24)
CIE-LCHlch(79.26, 33.84, 100.81°)
OKLaboklab(81.9% -0.0163 0.0822)
OKLCHoklch(81.9% 0.084 101.2)
XYZxyz(50.2300, 55.3760, 30.5923)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC686 #868FCF
analogous
#CFA286 #CFC686 #B4CF86
triadic
#CFC686 #86CFC6 #C686CF
tetradic
#CFC686 #86CFA2 #868FCF #CF86B4
square
#CFC686 #86CFA2 #868FCF #CF86B4
split-complementary
#CFC686 #86B4CF #A286CF
monochromatic
#9D913E #BEB15A #CFC686 #E0DBB2 #F2EFDE

Accessibility & contrast

On white

1.74
#CFC686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CFC686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC686
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC686#FFFFFF#000000##000000
##CFC6861.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C281
Deuteranopia (green-blind)
#D4C688
Tritanopia (blue-blind)
#D9BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc686;
/* rgb */ color: rgb(207, 198, 134);
/* oklch */ color: oklch(81.9% 0.084 101.2);
Tailwind
colors: {
  custom: {
    50: '#ded7aa',
    500: '#cfc686',
    950: '#000000',
  },
}
SCSS
$custom: #cfc686;
$custom-light: #ded7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc686",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 134
  },
  "hsl": {
    "h": 52.603,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81897,
    "c": 0.08381,
    "h": 101.2
  },
  "luminance": 0.55375
}

Semantic roles & 50–950 ramp

primary
#CFC686
secondary
#5760A2
accent
#40B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC686

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

Preview Lab → · Contrast checker → · Palette generator →

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