#CFC86C#CFC86C

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

Color values

HEX#CFC86C
RGBrgb(207, 200, 108)
HSLhsl(56, 51%, 62%)
HSVhsv(56, 48%, 81%)
CMYKcmyk(0%, 3.4%, 47.8%, 18.8%)
CIE-LABlab(79.42, -10.11, 46.55)
CIE-LCHlch(79.42, 47.64, 102.26°)
OKLaboklab(81.91% -0.0292 0.1109)
OKLCHoklch(81.91% 0.115 104.8)
XYZxyz(49.0944, 55.6581, 22.3414)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC86C #6C73CF
analogous
#CF976C #CFC86C #A4CF6C
triadic
#CFC86C #6CCFC8 #C86CCF
tetradic
#CFC86C #6CCF97 #6C73CF #CF6CA4
square
#CFC86C #6CCF97 #6C73CF #CF6CA4
split-complementary
#CFC86C #6CA4CF #976CCF
monochromatic
#918A2F #BFB63E #CFC86C #DED99A #EDEBC8

Accessibility & contrast

On white

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

On black

12.13
#CFC86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC86C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC86C#FFFFFF#000000##000000
##CFC86C1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C264
Deuteranopia (green-blind)
#D9C770
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc86c;
/* rgb */ color: rgb(207, 200, 108);
/* oklch */ color: oklch(81.9% 0.115 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd898',
    500: '#cfc86c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc86c;
$custom-light: #dfd898;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc86c",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 108
  },
  "hsl": {
    "h": 55.758,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81906,
    "c": 0.1147,
    "h": 104.8
  },
  "luminance": 0.55657
}

Semantic roles & 50–950 ramp

primary
#CFC86C
secondary
#484E97
accent
#32BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC86C

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

Preview Lab → · Contrast checker → · Palette generator →

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