#CCC05B#CCC05B

#CCC05B is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.123 H 102.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CCC05B
RGBrgb(204, 192, 91)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.9%, 55.4%, 20%)
CIE-LABlab(76.86, -8.70, 51.58)
CIE-LCHlch(76.86, 52.31, 99.58°)
OKLaboklab(79.75% -0.0268 0.1203)
OKLCHoklch(79.75% 0.123 102.6)
XYZxyz(45.6413, 51.2936, 17.3920)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC05B #5B67CC
analogous
#CC875B #CCC05B #A0CC5B
triadic
#CCC05B #5BCCC0 #C05BCC
tetradic
#CCC05B #5BCC87 #5B67CC #CC5BA0
square
#CCC05B #5BCC87 #5B67CC #CC5BA0
split-complementary
#CCC05B #5BA0CC #875BCC
monochromatic
#847A29 #B2A537 #CCC05B #DBD28A #E9E4B8

Accessibility & contrast

On white

1.87
#CCC05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CCC05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC05B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC05B#FFFFFF#000000##000000
##CCC05B1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB51
Deuteranopia (green-blind)
#D3C060
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc05b;
/* rgb */ color: rgb(204, 192, 91);
/* oklch */ color: oklch(79.7% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded28c',
    500: '#ccc05b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc05b;
$custom-light: #ded28c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc05b",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 53.628,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79749,
    "c": 0.12327,
    "h": 102.6
  },
  "luminance": 0.51292
}

Semantic roles & 50–950 ramp

primary
#CCC05B
secondary
#40488B
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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