#CCC85B#CCC85B

#CCC85B is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.131 H 107.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CCC85B
RGBrgb(204, 200, 91)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 2%, 55.4%, 20%)
CIE-LABlab(78.99, -12.78, 54.01)
CIE-LCHlch(78.99, 55.51, 103.32°)
OKLaboklab(81.44% -0.0385 0.1255)
OKLCHoklch(81.44% 0.131 107)
XYZxyz(47.4458, 54.9026, 17.9935)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC85B #5B5FCC
analogous
#CC8F5B #CCC85B #97CC5B
triadic
#CCC85B #5BCCC8 #C85BCC
tetradic
#CCC85B #5BCC8F #5B5FCC #CC5B97
square
#CCC85B #5BCC8F #5B5FCC #CC5B97
split-complementary
#CCC85B #5B97CC #8F5BCC
monochromatic
#848029 #B2AE37 #CCC85B #DBD88A #E9E7B8

Accessibility & contrast

On white

1.75
#CCC85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CCC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC85B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC85B#FFFFFF#000000##000000
##CCC85B1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#D9C661
Tritanopia (blue-blind)
#D9BCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc85b;
/* rgb */ color: rgb(204, 200, 91);
/* oklch */ color: oklch(81.4% 0.131 107.0);
Tailwind
colors: {
  custom: {
    50: '#ded88d',
    500: '#ccc85b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc85b;
$custom-light: #ded88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc85b",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 57.876,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.13131,
    "h": 107
  },
  "luminance": 0.54901
}

Semantic roles & 50–950 ramp

primary
#CCC85B
secondary
#40438B
accent
#51DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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