#CCC285#CCC285

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

Color values

HEX#CCC285
RGBrgb(204, 194, 133)
HSLhsl(52, 41%, 66%)
HSVhsv(52, 35%, 80%)
CMYKcmyk(0%, 4.9%, 34.8%, 20%)
CIE-LABlab(77.94, -5.58, 31.99)
CIE-LCHlch(77.94, 32.48, 99.89°)
OKLaboklab(80.79% -0.014 0.0793)
OKLCHoklch(80.79% 0.081 100)
XYZxyz(48.4279, 53.1156, 29.8870)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC285 #858FCC
analogous
#CC9E85 #CCC285 #B2CC85
triadic
#CCC285 #85CCC2 #C285CC
tetradic
#CCC285 #85CC9E #858FCC #CC85B2
square
#CCC285 #85CC9E #858FCC #CC85B2
split-complementary
#CCC285 #85B2CC #9E85CC
monochromatic
#978B3F #BAAC5A #CCC285 #DED8B0 #F0EDDB

Accessibility & contrast

On white

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

On black

11.62
#CCC285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC285
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC285#FFFFFF#000000##000000
##CCC2851.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE81
Deuteranopia (green-blind)
#D0C387
Tritanopia (blue-blind)
#D6BAB2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc285;
/* rgb */ color: rgb(204, 194, 133);
/* oklch */ color: oklch(80.8% 0.081 100.0);
Tailwind
colors: {
  custom: {
    50: '#dcd4a9',
    500: '#ccc285',
    950: '#000000',
  },
}
SCSS
$custom: #ccc285;
$custom-light: #dcd4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc285",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 133
  },
  "hsl": {
    "h": 51.549,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80792,
    "c": 0.08051,
    "h": 100
  },
  "luminance": 0.53114
}

Semantic roles & 50–950 ramp

primary
#CCC285
secondary
#57619E
accent
#44B431
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CCC285

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

Preview Lab → · Contrast checker → · Palette generator →

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