#CCCA58#CCCA58

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

Color values

HEX#CCCA58
RGBrgb(204, 202, 88)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 1%, 56.9%, 20%)
CIE-LABlab(79.49, -14.02, 55.94)
CIE-LCHlch(79.49, 57.67, 104.07°)
OKLaboklab(81.84% -0.0423 0.1293)
OKLCHoklch(81.84% 0.136 108.1)
XYZxyz(47.7852, 55.7843, 17.4809)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA58 #585ACC
analogous
#CC9058 #CCCA58 #94CC58
triadic
#CCCA58 #58CCCA #CA58CC
tetradic
#CCCA58 #58CC90 #585ACC #CC5894
square
#CCCA58 #58CC90 #585ACC #CC5894
split-complementary
#CCCA58 #5894CC #9058CC
monochromatic
#828028 #B1AF36 #CCCA58 #DAD987 #E9E8B6

Accessibility & contrast

On white

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

On black

12.16
#CCCA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA58
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA58#FFFFFF#000000##000000
##CCCA581.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca58;
/* rgb */ color: rgb(204, 202, 88);
/* oklch */ color: oklch(81.8% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded98b',
    500: '#ccca58',
    950: '#000000',
  },
}
SCSS
$custom: #ccca58;
$custom-light: #ded98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca58",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 58.966,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81835,
    "c": 0.13607,
    "h": 108.1
  },
  "luminance": 0.55783
}

Semantic roles & 50–950 ramp

primary
#CCCA58
secondary
#3F4089
accent
#4EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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