#CCC586#CCC586

#CCC586 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.083 H 102.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CCC586
RGBrgb(204, 197, 134)
HSLhsl(54, 41%, 66%)
HSVhsv(54, 34%, 80%)
CMYKcmyk(0%, 3.4%, 34.3%, 20%)
CIE-LABlab(78.75, -7.01, 32.53)
CIE-LCHlch(78.75, 33.28, 102.16°)
OKLaboklab(81.43% -0.0181 0.0806)
OKLCHoklch(81.43% 0.083 102.6)
XYZxyz(49.1717, 54.4922, 30.4774)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC586 #868DCC
analogous
#CCA286 #CCC586 #B0CC86
triadic
#CCC586 #86CCC5 #C586CC
tetradic
#CCC586 #86CCA2 #868DCC #CC86B0
square
#CCC586 #86CCA2 #868DCC #CC86B0
split-complementary
#CCC586 #86B0CC #A286CC
monochromatic
#988F40 #BAB05B #CCC586 #DEDAB1 #F0EEDC

Accessibility & contrast

On white

1.76
#CCC586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CCC586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC586
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC586#FFFFFF#000000##000000
##CCC5861.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C182
Deuteranopia (green-blind)
#D3C588
Tritanopia (blue-blind)
#D6BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc586;
/* rgb */ color: rgb(204, 197, 134);
/* oklch */ color: oklch(81.4% 0.083 102.6);
Tailwind
colors: {
  custom: {
    50: '#dcd6aa',
    500: '#ccc586',
    950: '#000000',
  },
}
SCSS
$custom: #ccc586;
$custom-light: #dcd6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc586",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 134
  },
  "hsl": {
    "h": 54,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81434,
    "c": 0.08257,
    "h": 102.6
  },
  "luminance": 0.54491
}

Semantic roles & 50–950 ramp

primary
#CCC586
secondary
#585F9E
accent
#3FB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC586

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

Preview Lab → · Contrast checker → · Palette generator →

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