#CCAD3A#CCAD3A

#CCAD3A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.5% C 0.134 H 93.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CCAD3A
RGBrgb(204, 173, 58)
HSLhsl(47, 59%, 51%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 15.2%, 71.6%, 20%)
CIE-LABlab(71.58, -0.89, 60.25)
CIE-LCHlch(71.58, 60.26, 90.85°)
OKLaboklab(75.48% -0.0083 0.1339)
OKLCHoklch(75.48% 0.134 93.5)
XYZxyz(40.6113, 43.0323, 10.1692)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD3A #3A59CC
analogous
#CC643A #CCAD3A #A2CC3A
triadic
#CCAD3A #3ACCAD #AD3ACC
tetradic
#CCAD3A #3ACC64 #3A59CC #CC3AA2
square
#CCAD3A #3ACC64 #3A59CC #CC3AA2
split-complementary
#CCAD3A #3AA2CC #643ACC
monochromatic
#6F5D1D #A08629 #CCAD3A #D9C16B #E5D59B

Accessibility & contrast

On white

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

On black

9.61
#CCAD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD3A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD3A#FFFFFF#000000##000000
##CCAD3A1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccad3a;
/* rgb */ color: rgb(204, 173, 58);
/* oklch */ color: oklch(75.5% 0.134 93.5);
Tailwind
colors: {
  custom: {
    50: '#dfc577',
    500: '#ccad3a',
    950: '#000000',
  },
}
SCSS
$custom: #ccad3a;
$custom-light: #dfc577;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad3a",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 47.26,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75475,
    "c": 0.13416,
    "h": 93.5
  },
  "luminance": 0.4303
}

Semantic roles & 50–950 ramp

primary
#CCAD3A
secondary
#919ED1
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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