#CCAC39#CCAC39

#CCAC39 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.134 H 93.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CCAC39
RGBrgb(204, 172, 57)
HSLhsl(47, 59%, 51%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 15.7%, 72.1%, 20%)
CIE-LABlab(71.31, -0.41, 60.38)
CIE-LCHlch(71.31, 60.38, 90.39°)
OKLaboklab(75.26% -0.007 0.134)
OKLCHoklch(75.26% 0.134 93)
XYZxyz(40.3950, 42.6402, 9.9728)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC39 #3959CC
analogous
#CC6239 #CCAC39 #A2CC39
triadic
#CCAC39 #39CCAC #AC39CC
tetradic
#CCAC39 #39CC62 #3959CC #CC39A2
square
#CCAC39 #39CC62 #3959CC #CC39A2
split-complementary
#CCAC39 #39A2CC #6239CC
monochromatic
#6E5C1C #9F8529 #CCAC39 #D9C06A #E5D59A

Accessibility & contrast

On white

2.20
#CCAC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CCAC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC39
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC39#FFFFFF#000000##000000
##CCAC391.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA928
Deuteranopia (green-blind)
#C6B33F
Tritanopia (blue-blind)
#DC9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac39;
/* rgb */ color: rgb(204, 172, 57);
/* oklch */ color: oklch(75.3% 0.134 93.0);
Tailwind
colors: {
  custom: {
    50: '#e0c477',
    500: '#ccac39',
    950: '#000000',
  },
}
SCSS
$custom: #ccac39;
$custom-light: #e0c477;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac39",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 46.939,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75262,
    "c": 0.13417,
    "h": 93
  },
  "luminance": 0.42638
}

Semantic roles & 50–950 ramp

primary
#CCAC39
secondary
#909ED1
accent
#68E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAC39

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

Preview Lab → · Contrast checker → · Palette generator →

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