#CCC86F#CCC86F

#CCC86F is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.112 H 106.3°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CCC86F
RGBrgb(204, 200, 111)
HSLhsl(57, 48%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2%, 45.6%, 20%)
CIE-LABlab(79.21, -11.04, 44.77)
CIE-LCHlch(79.21, 46.12, 103.86°)
OKLaboklab(81.69% -0.0315 0.1072)
OKLCHoklch(81.69% 0.112 106.3)
XYZxyz(48.4264, 55.2949, 23.1578)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC86F #6F73CC
analogous
#CC9A6F #CCC86F #A2CC6F
triadic
#CCC86F #6FCCC8 #C86FCC
tetradic
#CCC86F #6FCC9A #6F73CC #CC6FA2
square
#CCC86F #6FCC9A #6F73CC #CC6FA2
split-complementary
#CCC86F #6FA2CC #9A6FCC
monochromatic
#8E8A32 #BBB642 #CCC86F #DCD99C #ECEBC9

Accessibility & contrast

On white

1.74
#CCC86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CCC86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC86F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC86F#FFFFFF#000000##000000
##CCC86F1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#D7C673
Tritanopia (blue-blind)
#D8BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc86f;
/* rgb */ color: rgb(204, 200, 111);
/* oklch */ color: oklch(81.7% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#ddd89a',
    500: '#ccc86f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc86f;
$custom-light: #ddd89a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc86f",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 111
  },
  "hsl": {
    "h": 57.419,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81694,
    "c": 0.11176,
    "h": 106.3
  },
  "luminance": 0.55294
}

Semantic roles & 50–950 ramp

primary
#CCC86F
secondary
#4A4E95
accent
#31BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC86F

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

Preview Lab → · Contrast checker → · Palette generator →

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