#CCAC37#CCAC37

#CCAC37 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.135 H 93.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#CCAC37
RGBrgb(204, 172, 55)
HSLhsl(47, 59%, 51%)
HSVhsv(47, 73%, 80%)
CMYKcmyk(0%, 15.7%, 73%, 20%)
CIE-LABlab(71.30, -0.51, 61.14)
CIE-LCHlch(71.30, 61.14, 90.47°)
OKLaboklab(75.25% -0.0075 0.1352)
OKLCHoklch(75.25% 0.135 93.2)
XYZxyz(40.3461, 42.6206, 9.7152)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC37 #3757CC
analogous
#CC6137 #CCAC37 #A1CC37
triadic
#CCAC37 #37CCAC #AC37CC
tetradic
#CCAC37 #37CC61 #3757CC #CC37A1
square
#CCAC37 #37CC61 #3757CC #CC37A1
split-complementary
#CCAC37 #37A1CC #6137CC
monochromatic
#6D5B1C #9E8428 #CCAC37 #D8C068 #E5D499

Accessibility & contrast

On white

2.21
#CCAC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#CCAC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC37
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC37#FFFFFF#000000##000000
##CCAC371.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#DD9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac37;
/* rgb */ color: rgb(204, 172, 55);
/* oklch */ color: oklch(75.2% 0.135 93.2);
Tailwind
colors: {
  custom: {
    50: '#e0c475',
    500: '#ccac37',
    950: '#000000',
  },
}
SCSS
$custom: #ccac37;
$custom-light: #e0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac37",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 47.114,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75247,
    "c": 0.13543,
    "h": 93.2
  },
  "luminance": 0.42618
}

Semantic roles & 50–950 ramp

primary
#CCAC37
secondary
#8E9DD0
accent
#67E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAC37

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

Preview Lab → · Contrast checker → · Palette generator →

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