#CFC86F#CFC86F

#CFC86F is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.112 H 104.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CFC86F
RGBrgb(207, 200, 111)
HSLhsl(56, 50%, 62%)
HSVhsv(56, 46%, 81%)
CMYKcmyk(0%, 3.4%, 46.4%, 18.8%)
CIE-LABlab(79.46, -9.83, 45.13)
CIE-LCHlch(79.46, 46.19, 102.29°)
OKLaboklab(81.95% -0.0281 0.108)
OKLCHoklch(81.95% 0.112 104.6)
XYZxyz(49.2568, 55.7230, 23.1968)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC86F #6F76CF
analogous
#CF986F #CFC86F #A6CF6F
triadic
#CFC86F #6FCFC8 #C86FCF
tetradic
#CFC86F #6FCF98 #6F76CF #CF6FA6
square
#CFC86F #6FCF98 #6F76CF #CF6FA6
split-complementary
#CFC86F #6FA6CF #986FCF
monochromatic
#938C31 #C0B641 #CFC86F #DEDA9D #EEEBCB

Accessibility & contrast

On white

1.73
#CFC86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CFC86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC86F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC86F#FFFFFF#000000##000000
##CFC86F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C267
Deuteranopia (green-blind)
#D8C773
Tritanopia (blue-blind)
#DBBEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc86f;
/* rgb */ color: rgb(207, 200, 111);
/* oklch */ color: oklch(81.9% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd89a',
    500: '#cfc86f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc86f;
$custom-light: #dfd89a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc86f",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 111
  },
  "hsl": {
    "h": 55.625,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81948,
    "c": 0.1116,
    "h": 104.6
  },
  "luminance": 0.55722
}

Semantic roles & 50–950 ramp

primary
#CFC86F
secondary
#4A4F99
accent
#33BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC86F

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

Preview Lab → · Contrast checker → · Palette generator →

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