#CCC55D#CCC55D

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

Color values

HEX#CCC55D
RGBrgb(204, 197, 93)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.4%, 54.4%, 20%)
CIE-LABlab(78.21, -11.10, 52.20)
CIE-LCHlch(78.21, 53.37, 102.01°)
OKLaboklab(80.83% -0.0335 0.1219)
OKLCHoklch(80.83% 0.126 105.4)
XYZxyz(46.8453, 53.5616, 18.2246)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC55D #5D64CC
analogous
#CC8D5D #CCC55D #9BCC5D
triadic
#CCC55D #5DCCC5 #C55DCC
tetradic
#CCC55D #5DCC8D #5D64CC #CC5D9B
square
#CCC55D #5DCC8D #5D64CC #CC5D9B
split-complementary
#CCC55D #5D9BCC #8D5DCC
monochromatic
#857F2A #B3AC38 #CCC55D #DBD68C #E9E6BA

Accessibility & contrast

On white

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

On black

11.71
#CCC55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC55D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC55D#FFFFFF#000000##000000
##CCC55D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc55d;
/* rgb */ color: rgb(204, 197, 93);
/* oklch */ color: oklch(80.8% 0.126 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded68e',
    500: '#ccc55d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc55d;
$custom-light: #ded68e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc55d",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 93
  },
  "hsl": {
    "h": 56.216,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80827,
    "c": 0.12639,
    "h": 105.4
  },
  "luminance": 0.5356
}

Semantic roles & 50–950 ramp

primary
#CCC55D
secondary
#41468C
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC55D

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

Preview Lab → · Contrast checker → · Palette generator →

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