#CCCA47#CCCA47

#CCCA47 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.150 H 108.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CCCA47
RGBrgb(204, 202, 71)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1%, 65.2%, 20%)
CIE-LABlab(79.35, -15.14, 62.98)
CIE-LCHlch(79.35, 64.78, 103.52°)
OKLaboklab(81.68% -0.0473 0.1419)
OKLCHoklch(81.68% 0.15 108.4)
XYZxyz(47.1613, 55.5348, 14.1950)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA47 #4749CC
analogous
#CC8847 #CCCA47 #8CCC47
triadic
#CCCA47 #47CCCA #CA47CC
tetradic
#CCCA47 #47CC88 #4749CC #CC478C
square
#CCCA47 #47CC88 #4749CC #CC478C
split-complementary
#CCCA47 #478CCC #8847CC
monochromatic
#777621 #A7A62E #CCCA47 #D9D877 #E7E6A7

Accessibility & contrast

On white

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

On black

12.11
#CCCA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA47
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA47#FFFFFF#000000##000000
##CCCA471.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC235
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca47;
/* rgb */ color: rgb(204, 202, 71);
/* oklch */ color: oklch(81.7% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd981',
    500: '#ccca47',
    950: '#000000',
  },
}
SCSS
$custom: #ccca47;
$custom-light: #dfd981;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca47",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 59.098,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81675,
    "c": 0.14956,
    "h": 108.4
  },
  "luminance": 0.55533
}

Semantic roles & 50–950 ramp

primary
#CCCA47
secondary
#373880
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA47

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

Preview Lab → · Contrast checker → · Palette generator →

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