#CCC55B#CCC55B

#CCC55B is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.128 H 105.4°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CCC55B
RGBrgb(204, 197, 91)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.4%, 55.4%, 20%)
CIE-LABlab(78.18, -11.26, 53.10)
CIE-LCHlch(78.18, 54.28, 101.97°)
OKLaboklab(80.8% -0.0341 0.1236)
OKLCHoklch(80.8% 0.128 105.4)
XYZxyz(46.7578, 53.5267, 17.7642)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC55B #5B62CC
analogous
#CC8C5B #CCC55B #9BCC5B
triadic
#CCC55B #5BCCC5 #C55BCC
tetradic
#CCC55B #5BCC8C #5B62CC #CC5B9B
square
#CCC55B #5BCC8C #5B62CC #CC5B9B
split-complementary
#CCC55B #5B9BCC #8C5BCC
monochromatic
#847E29 #B2AB37 #CCC55B #DBD68A #E9E6B8

Accessibility & contrast

On white

1.79
#CCC55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CCC55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC55B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC55B#FFFFFF#000000##000000
##CCC55B1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF50
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#D9B9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc55b;
/* rgb */ color: rgb(204, 197, 91);
/* oklch */ color: oklch(80.8% 0.128 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded68d',
    500: '#ccc55b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc55b;
$custom-light: #ded68d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc55b",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 56.283,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80804,
    "c": 0.12822,
    "h": 105.4
  },
  "luminance": 0.53525
}

Semantic roles & 50–950 ramp

primary
#CCC55B
secondary
#40458B
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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