#CCC15A#CCC15A

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

Color values

HEX#CCC15A
RGBrgb(204, 193, 90)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.4%, 55.9%, 20%)
CIE-LABlab(77.11, -9.29, 52.34)
CIE-LCHlch(77.11, 53.16, 100.07°)
OKLaboklab(79.95% -0.0286 0.1218)
OKLCHoklch(79.95% 0.125 103.2)
XYZxyz(45.8188, 51.7171, 17.2397)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC15A #5A65CC
analogous
#CC885A #CCC15A #9ECC5A
triadic
#CCC15A #5ACCC1 #C15ACC
tetradic
#CCC15A #5ACC88 #5A65CC #CC5A9E
square
#CCC15A #5ACC88 #5A65CC #CC5A9E
split-complementary
#CCC15A #5A9ECC #885ACC
monochromatic
#837A29 #B2A637 #CCC15A #DAD389 #E9E4B7

Accessibility & contrast

On white

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

On black

11.34
#CCC15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC15A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC15A#FFFFFF#000000##000000
##CCC15A1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc15a;
/* rgb */ color: rgb(204, 193, 90);
/* oklch */ color: oklch(79.9% 0.125 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded38c',
    500: '#ccc15a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc15a;
$custom-light: #ded38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc15a",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 90
  },
  "hsl": {
    "h": 54.211,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79948,
    "c": 0.12515,
    "h": 103.2
  },
  "luminance": 0.51715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC15A

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

Preview Lab → · Contrast checker → · Palette generator →

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