#CFC86A#CFC86A

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

Color values

HEX#CFC86A
RGBrgb(207, 200, 106)
HSLhsl(56, 51%, 61%)
HSVhsv(56, 49%, 81%)
CMYKcmyk(0%, 3.4%, 48.8%, 18.8%)
CIE-LABlab(79.39, -10.30, 47.49)
CIE-LCHlch(79.39, 48.60, 102.23°)
OKLaboklab(81.88% -0.03 0.1128)
OKLCHoklch(81.88% 0.117 104.9)
XYZxyz(48.9892, 55.6160, 21.7872)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC86A #6A71CF
analogous
#CF966A #CFC86A #A4CF6A
triadic
#CFC86A #6ACFC8 #C86ACF
tetradic
#CFC86A #6ACF96 #6A71CF #CF6AA4
square
#CFC86A #6ACF96 #6A71CF #CF6AA4
split-complementary
#CFC86A #6AA4CF #966ACF
monochromatic
#90892E #BEB63D #CFC86A #DED998 #EDEAC7

Accessibility & contrast

On white

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

On black

12.12
#CFC86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC86A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC86A#FFFFFF#000000##000000
##CFC86A1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc86a;
/* rgb */ color: rgb(207, 200, 106);
/* oklch */ color: oklch(81.9% 0.117 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd897',
    500: '#cfc86a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc86a;
$custom-light: #dfd897;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc86a",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 106
  },
  "hsl": {
    "h": 55.842,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8188,
    "c": 0.11673,
    "h": 104.9
  },
  "luminance": 0.55615
}

Semantic roles & 50–950 ramp

primary
#CFC86A
secondary
#474C96
accent
#31BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC86A

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

Preview Lab → · Contrast checker → · Palette generator →

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