#CCCA5E#CCCA5E

#CCCA5E is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.131 H 108.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CCCA5E
RGBrgb(204, 202, 94)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 1%, 53.9%, 20%)
CIE-LABlab(79.55, -13.56, 53.29)
CIE-LCHlch(79.55, 54.98, 104.28°)
OKLaboklab(81.9% -0.0404 0.1243)
OKLCHoklch(81.9% 0.131 108)
XYZxyz(48.0440, 55.8879, 18.8441)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA5E #5E60CC
analogous
#CC935E #CCCA5E #97CC5E
triadic
#CCCA5E #5ECCCA #CA5ECC
tetradic
#CCCA5E #5ECC93 #5E60CC #CC5E97
square
#CCCA5E #5ECC93 #5E60CC #CC5E97
split-complementary
#CCCA5E #5E97CC #935ECC
monochromatic
#85842A #B4B239 #CCCA5E #DBD98C #E9E9BB

Accessibility & contrast

On white

1.72
#CCCA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CCCA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA5E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA5E#FFFFFF#000000##000000
##CCCA5E1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C353
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca5e;
/* rgb */ color: rgb(204, 202, 94);
/* oklch */ color: oklch(81.9% 0.131 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded98f',
    500: '#ccca5e',
    950: '#000000',
  },
}
SCSS
$custom: #ccca5e;
$custom-light: #ded98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca5e",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 58.909,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81901,
    "c": 0.1307,
    "h": 108
  },
  "luminance": 0.55887
}

Semantic roles & 50–950 ramp

primary
#CCCA5E
secondary
#42438D
accent
#4FDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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