#CCAD40#CCAD40

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

Color values

HEX#CCAD40
RGBrgb(204, 173, 64)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 15.2%, 68.6%, 20%)
CIE-LABlab(71.62, -0.58, 57.86)
CIE-LCHlch(71.62, 57.87, 90.58°)
OKLaboklab(75.52% -0.0067 0.1299)
OKLCHoklch(75.52% 0.13 93)
XYZxyz(40.7729, 43.0970, 11.0204)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD40 #405FCC
analogous
#CC6740 #CCAD40 #A5CC40
triadic
#CCAD40 #40CCAD #AD40CC
tetradic
#CCAD40 #40CC67 #405FCC #CC40A5
square
#CCAD40 #40CC67 #405FCC #CC40A5
split-complementary
#CCAD40 #40A5CC #6740CC
monochromatic
#73601F #A3892C #CCAD40 #D9C270 #E6D6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAD40#FFFFFF#000000##000000
##CCAD401.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)
#BFAA32
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccad40;
/* rgb */ color: rgb(204, 173, 64);
/* oklch */ color: oklch(75.5% 0.130 93.0);
Tailwind
colors: {
  custom: {
    50: '#dfc57b',
    500: '#ccad40',
    950: '#000000',
  },
}
SCSS
$custom: #ccad40;
$custom-light: #dfc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad40",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 46.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75523,
    "c": 0.13009,
    "h": 93
  },
  "luminance": 0.43095
}

Semantic roles & 50–950 ramp

primary
#CCAD40
secondary
#95A3D2
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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