#CFC486#CFC486

#CFC486 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.082 H 99.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CFC486
RGBrgb(207, 196, 134)
HSLhsl(51, 43%, 67%)
HSVhsv(51, 35%, 81%)
CMYKcmyk(0%, 5.3%, 35.3%, 18.8%)
CIE-LABlab(78.73, -5.31, 32.56)
CIE-LCHlch(78.73, 32.99, 99.27°)
OKLaboklab(81.48% -0.0133 0.0806)
OKLCHoklch(81.48% 0.082 99.4)
XYZxyz(49.7758, 54.4678, 30.4409)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC486 #8691CF
analogous
#CFA086 #CFC486 #B6CF86
triadic
#CFC486 #86CFC4 #C486CF
tetradic
#CFC486 #86CFA0 #8691CF #CF86B6
square
#CFC486 #86CFA0 #8691CF #CF86B6
split-complementary
#CFC486 #86B6CF #A086CF
monochromatic
#9D8E3E #BEAF5A #CFC486 #E0D9B2 #F2EFDE

Accessibility & contrast

On white

1.77
#CFC486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CFC486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC486
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC486#FFFFFF#000000##000000
##CFC4861.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC082
Deuteranopia (green-blind)
#D3C588
Tritanopia (blue-blind)
#DABCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc486;
/* rgb */ color: rgb(207, 196, 134);
/* oklch */ color: oklch(81.5% 0.082 99.4);
Tailwind
colors: {
  custom: {
    50: '#ded5aa',
    500: '#cfc486',
    950: '#000000',
  },
}
SCSS
$custom: #cfc486;
$custom-light: #ded5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc486",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 134
  },
  "hsl": {
    "h": 50.959,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.08171,
    "h": 99.4
  },
  "luminance": 0.54466
}

Semantic roles & 50–950 ramp

primary
#CFC486
secondary
#5762A2
accent
#44B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC486

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

Preview Lab → · Contrast checker → · Palette generator →

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