#CCCA5B#CCCA5B

#CCCA5B is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.133 H 108.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CCCA5B
RGBrgb(204, 202, 91)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 1%, 55.4%, 20%)
CIE-LABlab(79.52, -13.79, 54.62)
CIE-LCHlch(79.52, 56.34, 104.17°)
OKLaboklab(81.87% -0.0414 0.1268)
OKLCHoklch(81.87% 0.133 108.1)
XYZxyz(47.9120, 55.8351, 18.1489)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA5B #5B5DCC
analogous
#CC915B #CCCA5B #95CC5B
triadic
#CCCA5B #5BCCCA #CA5BCC
tetradic
#CCCA5B #5BCC91 #5B5DCC #CC5B95
square
#CCCA5B #5BCC91 #5B5DCC #CC5B95
split-complementary
#CCCA5B #5B95CC #915BCC
monochromatic
#848229 #B2B037 #CCCA5B #DBD98A #E9E8B8

Accessibility & contrast

On white

1.73
#CCCA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CCCA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA5B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA5B#FFFFFF#000000##000000
##CCCA5B1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C350
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#D9BEB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca5b;
/* rgb */ color: rgb(204, 202, 91);
/* oklch */ color: oklch(81.9% 0.133 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded98d',
    500: '#ccca5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccca5b;
$custom-light: #ded98d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca5b",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 58.938,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81867,
    "c": 0.13342,
    "h": 108.1
  },
  "luminance": 0.55834
}

Semantic roles & 50–950 ramp

primary
#CCCA5B
secondary
#40428B
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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