#CCAC4B#CCAC4B

#CCAC4B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.121 H 90.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CCAC4B
RGBrgb(204, 172, 75)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 15.7%, 63.2%, 20%)
CIE-LABlab(71.45, 0.60, 52.88)
CIE-LCHlch(71.45, 52.89, 89.35°)
OKLaboklab(75.42% -0.0019 0.1211)
OKLCHoklch(75.42% 0.121 90.9)
XYZxyz(40.9263, 42.8527, 12.7710)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC4B #4B6BCC
analogous
#CC6B4B #CCAC4B #ACCC4B
triadic
#CCAC4B #4BCCAC #AC4BCC
tetradic
#CCAC4B #4BCC6B #4B6BCC #CC4BAC
square
#CCAC4B #4BCC6B #4B6BCC #CC4BAC
split-complementary
#CCAC4B #4BACCC #6B4BCC
monochromatic
#7A6423 #AA8C30 #CCAC4B #DAC27B #E7D8AA

Accessibility & contrast

On white

2.19
#CCAC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CCAC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC4B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC4B#FFFFFF#000000##000000
##CCAC4B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA40
Deuteranopia (green-blind)
#C5B34F
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac4b;
/* rgb */ color: rgb(204, 172, 75);
/* oklch */ color: oklch(75.4% 0.121 90.9);
Tailwind
colors: {
  custom: {
    50: '#dfc481',
    500: '#ccac4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccac4b;
$custom-light: #dfc481;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac4b",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 45.116,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.12111,
    "h": 90.9
  },
  "luminance": 0.4285
}

Semantic roles & 50–950 ramp

primary
#CCAC4B
secondary
#9EACD5
accent
#6EDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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