#CCAC43#CCAC43

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

Color values

HEX#CCAC43
RGBrgb(204, 172, 67)
HSLhsl(46, 57%, 53%)
HSVhsv(46, 67%, 80%)
CMYKcmyk(0%, 15.7%, 67.2%, 20%)
CIE-LABlab(71.39, 0.11, 56.35)
CIE-LCHlch(71.39, 56.35, 89.88°)
OKLaboklab(75.35% -0.0043 0.1272)
OKLCHoklch(75.35% 0.127 92)
XYZxyz(40.6696, 42.7500, 11.4185)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC43 #4363CC
analogous
#CC6743 #CCAC43 #A8CC43
triadic
#CCAC43 #43CCAC #AC43CC
tetradic
#CCAC43 #43CC67 #4363CC #CC43A8
square
#CCAC43 #43CC67 #4363CC #CC43A8
split-complementary
#CCAC43 #43A8CC #6743CC
monochromatic
#756120 #A5892D #CCAC43 #D9C173 #E6D7A3

Accessibility & contrast

On white

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

On black

9.55
#CCAC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC43
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC43#FFFFFF#000000##000000
##CCAC431.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA936
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac43;
/* rgb */ color: rgb(204, 172, 67);
/* oklch */ color: oklch(75.3% 0.127 92.0);
Tailwind
colors: {
  custom: {
    50: '#dfc47c',
    500: '#ccac43',
    950: '#000000',
  },
}
SCSS
$custom: #ccac43;
$custom-light: #dfc47c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac43",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 67
  },
  "hsl": {
    "h": 45.985,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75345,
    "c": 0.12728,
    "h": 92
  },
  "luminance": 0.42748
}

Semantic roles & 50–950 ramp

primary
#CCAC43
secondary
#98A6D3
accent
#6BE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC43

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

Preview Lab → · Contrast checker → · Palette generator →

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