#CCAC3D#CCAC3D

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

Color values

HEX#CCAC3D
RGBrgb(204, 172, 61)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 15.7%, 70.1%, 20%)
CIE-LABlab(71.34, -0.21, 58.81)
CIE-LCHlch(71.34, 58.81, 90.21°)
OKLaboklab(75.29% -0.006 0.1314)
OKLCHoklch(75.29% 0.132 92.6)
XYZxyz(40.4988, 42.6817, 10.5192)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC3D #3D5DCC
analogous
#CC643D #CCAC3D #A5CC3D
triadic
#CCAC3D #3DCCAC #AC3DCC
tetradic
#CCAC3D #3DCC64 #3D5DCC #CC3DA5
square
#CCAC3D #3DCC64 #3D5DCC #CC3DA5
split-complementary
#CCAC3D #3DA5CC #643DCC
monochromatic
#715E1E #A1872A #CCAC3D #D9C16D #E5D59E

Accessibility & contrast

On white

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

On black

9.54
#CCAC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC3D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC3D#FFFFFF#000000##000000
##CCAC3D1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccac3d;
/* rgb */ color: rgb(204, 172, 61);
/* oklch */ color: oklch(75.3% 0.132 92.6);
Tailwind
colors: {
  custom: {
    50: '#dfc479',
    500: '#ccac3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccac3d;
$custom-light: #dfc479;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac3d",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 46.573,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75293,
    "c": 0.13154,
    "h": 92.6
  },
  "luminance": 0.42679
}

Semantic roles & 50–950 ramp

primary
#CCAC3D
secondary
#93A1D2
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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