#CCC15B#CCC15B

#CCC15B is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.124 H 103.2°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CCC15B
RGBrgb(204, 193, 91)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.4%, 55.4%, 20%)
CIE-LABlab(77.12, -9.22, 51.89)
CIE-LCHlch(77.12, 52.70, 100.07°)
OKLaboklab(79.96% -0.0283 0.121)
OKLCHoklch(79.96% 0.124 103.2)
XYZxyz(45.8616, 51.7342, 17.4654)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC15B #5B66CC
analogous
#CC885B #CCC15B #9FCC5B
triadic
#CCC15B #5BCCC1 #C15BCC
tetradic
#CCC15B #5BCC88 #5B66CC #CC5B9F
square
#CCC15B #5BCC88 #5B66CC #CC5B9F
split-complementary
#CCC15B #5B9FCC #885BCC
monochromatic
#847B29 #B2A637 #CCC15B #DBD38A #E9E4B8

Accessibility & contrast

On white

1.85
#CCC15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CCC15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC15B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC15B#FFFFFF#000000##000000
##CCC15B1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB51
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc15b;
/* rgb */ color: rgb(204, 193, 91);
/* oklch */ color: oklch(80.0% 0.124 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded38c',
    500: '#ccc15b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc15b;
$custom-light: #ded38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc15b",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 54.159,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79959,
    "c": 0.12424,
    "h": 103.2
  },
  "luminance": 0.51733
}

Semantic roles & 50–950 ramp

primary
#CCC15B
secondary
#40478B
accent
#5ADC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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