#CCCA57#CCCA57

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

Color values

HEX#CCCA57
RGBrgb(204, 202, 87)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 1%, 57.4%, 20%)
CIE-LABlab(79.48, -14.10, 56.37)
CIE-LCHlch(79.48, 58.11, 104.04°)
OKLaboklab(81.82% -0.0427 0.1301)
OKLCHoklch(81.82% 0.137 108.2)
XYZxyz(47.7441, 55.7679, 17.2642)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA57 #5759CC
analogous
#CC8F57 #CCCA57 #94CC57
triadic
#CCCA57 #57CCCA #CA57CC
tetradic
#CCCA57 #57CC8F #5759CC #CC5794
square
#CCCA57 #57CC8F #5759CC #CC5794
split-complementary
#CCCA57 #5794CC #8F57CC
monochromatic
#818027 #B0AE36 #CCCA57 #DAD986 #E9E8B5

Accessibility & contrast

On white

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

On black

12.15
#CCCA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA57
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA57#FFFFFF#000000##000000
##CCCA571.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca57;
/* rgb */ color: rgb(204, 202, 87);
/* oklch */ color: oklch(81.8% 0.137 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded98a',
    500: '#ccca57',
    950: '#000000',
  },
}
SCSS
$custom: #ccca57;
$custom-light: #ded98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca57",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 58.974,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81824,
    "c": 0.13693,
    "h": 108.2
  },
  "luminance": 0.55767
}

Semantic roles & 50–950 ramp

primary
#CCCA57
secondary
#3E4089
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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