#CFC86B#CFC86B

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

Color values

HEX#CFC86B
RGBrgb(207, 200, 107)
HSLhsl(56, 51%, 62%)
HSVhsv(56, 48%, 81%)
CMYKcmyk(0%, 3.4%, 48.3%, 18.8%)
CIE-LABlab(79.41, -10.20, 47.02)
CIE-LCHlch(79.41, 48.12, 102.24°)
OKLaboklab(81.89% -0.0296 0.1119)
OKLCHoklch(81.89% 0.116 104.8)
XYZxyz(49.0415, 55.6369, 22.0627)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC86B #6B72CF
analogous
#CF966B #CFC86B #A4CF6B
triadic
#CFC86B #6BCFC8 #C86BCF
tetradic
#CFC86B #6BCF96 #6B72CF #CF6BA4
square
#CFC86B #6BCF96 #6B72CF #CF6BA4
split-complementary
#CFC86B #6BA4CF #966BCF
monochromatic
#918A2F #BFB63E #CFC86B #DED999 #EDEAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC86B#FFFFFF#000000##000000
##CFC86B1.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)
#D6C263
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc86b;
/* rgb */ color: rgb(207, 200, 107);
/* oklch */ color: oklch(81.9% 0.116 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd897',
    500: '#cfc86b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc86b;
$custom-light: #dfd897;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc86b",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 107
  },
  "hsl": {
    "h": 55.8,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81893,
    "c": 0.11571,
    "h": 104.8
  },
  "luminance": 0.55635
}

Semantic roles & 50–950 ramp

primary
#CFC86B
secondary
#474D97
accent
#32BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC86B

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

Preview Lab → · Contrast checker → · Palette generator →

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