#CCC286#CCC286

#CCC286 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.079 H 99.9°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CCC286
RGBrgb(204, 194, 134)
HSLhsl(51, 41%, 66%)
HSVhsv(51, 34%, 80%)
CMYKcmyk(0%, 4.9%, 34.3%, 20%)
CIE-LABlab(77.96, -5.46, 31.49)
CIE-LCHlch(77.96, 31.96, 99.83°)
OKLaboklab(80.81% -0.0136 0.0782)
OKLCHoklch(80.81% 0.079 99.9)
XYZxyz(48.4973, 53.1434, 30.2526)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC286 #8690CC
analogous
#CC9F86 #CCC286 #B3CC86
triadic
#CCC286 #86CCC2 #C286CC
tetradic
#CCC286 #86CC9F #8690CC #CC86B3
square
#CCC286 #86CC9F #8690CC #CC86B3
split-complementary
#CCC286 #86B3CC #9F86CC
monochromatic
#988B40 #BAAC5B #CCC286 #DED8B1 #F0EDDC

Accessibility & contrast

On white

1.81
#CCC286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CCC286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC286
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC286#FFFFFF#000000##000000
##CCC2861.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE82
Deuteranopia (green-blind)
#D0C388
Tritanopia (blue-blind)
#D6BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc286;
/* rgb */ color: rgb(204, 194, 134);
/* oklch */ color: oklch(80.8% 0.079 99.9);
Tailwind
colors: {
  custom: {
    50: '#dcd4aa',
    500: '#ccc286',
    950: '#000000',
  },
}
SCSS
$custom: #ccc286;
$custom-light: #dcd4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc286",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 134
  },
  "hsl": {
    "h": 51.429,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8081,
    "c": 0.07932,
    "h": 99.9
  },
  "luminance": 0.53142
}

Semantic roles & 50–950 ramp

primary
#CCC286
secondary
#58629E
accent
#44B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC286

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

Preview Lab → · Contrast checker → · Palette generator →

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