#CCCA37#CCCA37

#CCCA37 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.160 H 108.7°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CCCA37
RGBrgb(204, 202, 55)
HSLhsl(59, 59%, 51%)
HSVhsv(59, 73%, 80%)
CMYKcmyk(0%, 1%, 73%, 20%)
CIE-LABlab(79.25, -15.96, 68.76)
CIE-LCHlch(79.25, 70.59, 103.07°)
OKLaboklab(81.56% -0.0512 0.1514)
OKLCHoklch(81.56% 0.16 108.7)
XYZxyz(46.7137, 55.3557, 11.8377)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA37 #3739CC
analogous
#CC8037 #CCCA37 #83CC37
triadic
#CCCA37 #37CCCA #CA37CC
tetradic
#CCCA37 #37CC80 #3739CC #CC3783
square
#CCCA37 #37CC80 #3739CC #CC3783
split-complementary
#CCCA37 #3783CC #8037CC
monochromatic
#6D6C1C #9E9C28 #CCCA37 #D8D768 #E5E499

Accessibility & contrast

On white

1.74
#CCCA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CCCA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA37
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA37#FFFFFF#000000##000000
##CCCA371.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC219
Deuteranopia (green-blind)
#DDC742
Tritanopia (blue-blind)
#DBBDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca37;
/* rgb */ color: rgb(204, 202, 55);
/* oklch */ color: oklch(81.6% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfd979',
    500: '#ccca37',
    950: '#000000',
  },
}
SCSS
$custom: #ccca37;
$custom-light: #dfd979;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca37",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 55
  },
  "hsl": {
    "h": 59.195,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81561,
    "c": 0.15979,
    "h": 108.7
  },
  "luminance": 0.55354
}

Semantic roles & 50–950 ramp

primary
#CCCA37
secondary
#313276
accent
#47E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA37

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

Preview Lab → · Contrast checker → · Palette generator →

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