#CCC15E#CCC15E

#CCC15E is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.121 H 103.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CCC15E
RGBrgb(204, 193, 94)
HSLhsl(54, 52%, 58%)
HSVhsv(54, 54%, 80%)
CMYKcmyk(0%, 5.4%, 53.9%, 20%)
CIE-LABlab(77.15, -8.98, 50.52)
CIE-LCHlch(77.15, 51.31, 100.08°)
OKLaboklab(80% -0.0273 0.1183)
OKLCHoklch(80% 0.121 103)
XYZxyz(45.9936, 51.7870, 18.1606)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC15E #5E69CC
analogous
#CC8A5E #CCC15E #A0CC5E
triadic
#CCC15E #5ECCC1 #C15ECC
tetradic
#CCC15E #5ECC8A #5E69CC #CC5EA0
square
#CCC15E #5ECC8A #5E69CC #CC5EA0
split-complementary
#CCC15E #5EA0CC #8A5ECC
monochromatic
#857C2A #B4A839 #CCC15E #DBD38C #E9E5BB

Accessibility & contrast

On white

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

On black

11.36
#CCC15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC15E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC15E#FFFFFF#000000##000000
##CCC15E1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB55
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#D9B6AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc15e;
/* rgb */ color: rgb(204, 193, 94);
/* oklch */ color: oklch(80.0% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#ded38e',
    500: '#ccc15e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc15e;
$custom-light: #ded38e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc15e",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 94
  },
  "hsl": {
    "h": 54,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79995,
    "c": 0.12145,
    "h": 103
  },
  "luminance": 0.51785
}

Semantic roles & 50–950 ramp

primary
#CCC15E
secondary
#42498D
accent
#5BDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC15E

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

Preview Lab → · Contrast checker → · Palette generator →

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