#CCC55F#CCC55F

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

Color values

HEX#CCC55F
RGBrgb(204, 197, 95)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.4%, 53.4%, 20%)
CIE-LABlab(78.23, -10.94, 51.29)
CIE-LCHlch(78.23, 52.45, 102.04°)
OKLaboklab(80.85% -0.0328 0.1201)
OKLCHoklch(80.85% 0.125 105.3)
XYZxyz(46.9350, 53.5975, 18.6972)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC55F #5F66CC
analogous
#CC8E5F #CCC55F #9CCC5F
triadic
#CCC55F #5FCCC5 #C55FCC
tetradic
#CCC55F #5FCC8E #5F66CC #CC5F9C
square
#CCC55F #5FCC8E #5F66CC #CC5F9C
split-complementary
#CCC55F #5F9CCC #8E5FCC
monochromatic
#86802B #B4AC39 #CCC55F #DBD68D #EAE7BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC55F#FFFFFF#000000##000000
##CCC55F1.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)
#D4BF55
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#D9BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc55f;
/* rgb */ color: rgb(204, 197, 95);
/* oklch */ color: oklch(80.9% 0.125 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded68f',
    500: '#ccc55f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc55f;
$custom-light: #ded68f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc55f",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 56.147,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80851,
    "c": 0.12452,
    "h": 105.3
  },
  "luminance": 0.53596
}

Semantic roles & 50–950 ramp

primary
#CCC55F
secondary
#42478D
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC55F

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

Preview Lab → · Contrast checker → · Palette generator →

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