#CCAC3B#CCAC3B

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

Color values

HEX#CCAC3B
RGBrgb(204, 172, 59)
HSLhsl(47, 59%, 52%)
HSVhsv(47, 71%, 80%)
CMYKcmyk(0%, 15.7%, 71.1%, 20%)
CIE-LABlab(71.32, -0.31, 59.60)
CIE-LCHlch(71.32, 59.61, 90.30°)
OKLaboklab(75.28% -0.0065 0.1327)
OKLCHoklch(75.28% 0.133 92.8)
XYZxyz(40.4459, 42.6605, 10.2408)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC3B #3B5BCC
analogous
#CC643B #CCAC3B #A3CC3B
triadic
#CCAC3B #3BCCAC #AC3BCC
tetradic
#CCAC3B #3BCC64 #3B5BCC #CC3BA3
square
#CCAC3B #3BCC64 #3B5BCC #CC3BA3
split-complementary
#CCAC3B #3BA3CC #643BCC
monochromatic
#705D1D #A0862A #CCAC3B #D9C16C #E5D59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAC3B#FFFFFF#000000##000000
##CCAC3B1.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)
#BEA92B
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#DC9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac3b;
/* rgb */ color: rgb(204, 172, 59);
/* oklch */ color: oklch(75.3% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#dfc478',
    500: '#ccac3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccac3b;
$custom-light: #dfc478;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac3b",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 46.759,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.13287,
    "h": 92.8
  },
  "luminance": 0.42658
}

Semantic roles & 50–950 ramp

primary
#CCAC3B
secondary
#92A0D1
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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