#CCC35E#CCC35E

#CCC35E is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.123 H 104.2°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CCC35E
RGBrgb(204, 195, 94)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.4%, 53.9%, 20%)
CIE-LABlab(77.68, -10.00, 51.13)
CIE-LCHlch(77.68, 52.10, 101.07°)
OKLaboklab(80.42% -0.0302 0.1197)
OKLCHoklch(80.42% 0.123 104.2)
XYZxyz(46.4387, 52.6772, 18.3090)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC35E #5E67CC
analogous
#CC8C5E #CCC35E #9ECC5E
triadic
#CCC35E #5ECCC3 #C35ECC
tetradic
#CCC35E #5ECC8C #5E67CC #CC5E9E
square
#CCC35E #5ECC8C #5E67CC #CC5E9E
split-complementary
#CCC35E #5E9ECC #8C5ECC
monochromatic
#857E2A #B4AA39 #CCC35E #DBD48C #E9E6BB

Accessibility & contrast

On white

1.82
#CCC35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CCC35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC35E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC35E#FFFFFF#000000##000000
##CCC35E1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD54
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#D9B8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc35e;
/* rgb */ color: rgb(204, 195, 94);
/* oklch */ color: oklch(80.4% 0.123 104.2);
Tailwind
colors: {
  custom: {
    50: '#ded48f',
    500: '#ccc35e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc35e;
$custom-light: #ded48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc35e",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 55.091,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.12343,
    "h": 104.2
  },
  "luminance": 0.52676
}

Semantic roles & 50–950 ramp

primary
#CCC35E
secondary
#42488D
accent
#58DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC35E

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

Preview Lab → · Contrast checker → · Palette generator →

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