#CCC55E#CCC55E

#CCC55E is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.125 H 105.3°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CCC55E
RGBrgb(204, 197, 94)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.4%, 53.9%, 20%)
CIE-LABlab(78.22, -11.02, 51.75)
CIE-LCHlch(78.22, 52.91, 102.03°)
OKLaboklab(80.84% -0.0331 0.121)
OKLCHoklch(80.84% 0.125 105.3)
XYZxyz(46.8898, 53.5795, 18.4594)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC55E #5E65CC
analogous
#CC8E5E #CCC55E #9CCC5E
triadic
#CCC55E #5ECCC5 #C55ECC
tetradic
#CCC55E #5ECC8E #5E65CC #CC5E9C
square
#CCC55E #5ECC8E #5E65CC #CC5E9C
split-complementary
#CCC55E #5E9CCC #8E5ECC
monochromatic
#85802A #B4AC39 #CCC55E #DBD68C #E9E6BB

Accessibility & contrast

On white

1.79
#CCC55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CCC55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC55E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC55E#FFFFFF#000000##000000
##CCC55E1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF54
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#D9BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc55e;
/* rgb */ color: rgb(204, 197, 94);
/* oklch */ color: oklch(80.8% 0.125 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded68f',
    500: '#ccc55e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc55e;
$custom-light: #ded68f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc55e",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 56.182,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80839,
    "c": 0.12546,
    "h": 105.3
  },
  "luminance": 0.53578
}

Semantic roles & 50–950 ramp

primary
#CCC55E
secondary
#42468D
accent
#56DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC55E

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

Preview Lab → · Contrast checker → · Palette generator →

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