#CFC86D#CFC86D

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

Color values

HEX#CFC86D
RGBrgb(207, 200, 109)
HSLhsl(56, 51%, 62%)
HSVhsv(56, 47%, 81%)
CMYKcmyk(0%, 3.4%, 47.3%, 18.8%)
CIE-LABlab(79.43, -10.02, 46.08)
CIE-LCHlch(79.43, 47.16, 102.27°)
OKLaboklab(81.92% -0.0289 0.1099)
OKLCHoklch(81.92% 0.114 104.7)
XYZxyz(49.1479, 55.6795, 22.6233)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC86D #6D74CF
analogous
#CF976D #CFC86D #A5CF6D
triadic
#CFC86D #6DCFC8 #C86DCF
tetradic
#CFC86D #6DCF97 #6D74CF #CF6DA5
square
#CFC86D #6DCF97 #6D74CF #CF6DA5
split-complementary
#CFC86D #6DA5CF #976DCF
monochromatic
#928B30 #C0B73F #CFC86D #DED99B #EDEBC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC86D#FFFFFF#000000##000000
##CFC86D1.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)
#D6C265
Deuteranopia (green-blind)
#D9C771
Tritanopia (blue-blind)
#DBBDB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc86d;
/* rgb */ color: rgb(207, 200, 109);
/* oklch */ color: oklch(81.9% 0.114 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd899',
    500: '#cfc86d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc86d;
$custom-light: #dfd899;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc86d",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 109
  },
  "hsl": {
    "h": 55.714,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8192,
    "c": 0.11367,
    "h": 104.7
  },
  "luminance": 0.55678
}

Semantic roles & 50–950 ramp

primary
#CFC86D
secondary
#484E98
accent
#32BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC86D

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

Preview Lab → · Contrast checker → · Palette generator →

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