#CCAD42#CCAD42

#CCAD42 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.129 H 92.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CCAD42
RGBrgb(204, 173, 66)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 68%, 80%)
CMYKcmyk(0%, 15.2%, 67.6%, 20%)
CIE-LABlab(71.64, -0.47, 57.04)
CIE-LCHlch(71.64, 57.04, 90.47°)
OKLaboklab(75.54% -0.0061 0.1285)
OKLCHoklch(75.54% 0.129 92.7)
XYZxyz(40.8308, 43.1201, 11.3256)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD42 #4261CC
analogous
#CC6842 #CCAD42 #A6CC42
triadic
#CCAD42 #42CCAD #AD42CC
tetradic
#CCAD42 #42CC68 #4261CC #CC42A6
square
#CCAD42 #42CC68 #4261CC #CC42A6
split-complementary
#CCAD42 #42A6CC #6842CC
monochromatic
#74611F #A4892C #CCAD42 #D9C272 #E6D7A2

Accessibility & contrast

On white

2.18
#CCAD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CCAD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD42
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD42#FFFFFF#000000##000000
##CCAD421.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C7B347
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccad42;
/* rgb */ color: rgb(204, 173, 66);
/* oklch */ color: oklch(75.5% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#dfc57c',
    500: '#ccad42',
    950: '#000000',
  },
}
SCSS
$custom: #ccad42;
$custom-light: #dfc57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad42",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 66
  },
  "hsl": {
    "h": 46.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75541,
    "c": 0.12866,
    "h": 92.7
  },
  "luminance": 0.43118
}

Semantic roles & 50–950 ramp

primary
#CCAD42
secondary
#97A4D3
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAD42

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

Preview Lab → · Contrast checker → · Palette generator →

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