#CCAD45#CCAD45

#CCAD45 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.126 H 92.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CCAD45
RGBrgb(204, 173, 69)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 66%, 80%)
CMYKcmyk(0%, 15.2%, 66.2%, 20%)
CIE-LABlab(71.66, -0.30, 55.78)
CIE-LCHlch(71.66, 55.78, 90.31°)
OKLaboklab(75.57% -0.0053 0.1263)
OKLCHoklch(75.57% 0.126 92.4)
XYZxyz(40.9216, 43.1564, 11.8037)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD45 #4564CC
analogous
#CC6945 #CCAD45 #A7CC45
triadic
#CCAD45 #45CCAD #AD45CC
tetradic
#CCAD45 #45CC69 #4564CC #CC45A7
square
#CCAD45 #45CC69 #4564CC #CC45A7
split-complementary
#CCAD45 #45A7CC #6945CC
monochromatic
#766220 #A68B2E #CCAD45 #D9C275 #E6D7A5

Accessibility & contrast

On white

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

On black

9.63
#CCAD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD45
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD45#FFFFFF#000000##000000
##CCAD451.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccad45;
/* rgb */ color: rgb(204, 173, 69);
/* oklch */ color: oklch(75.6% 0.126 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfc57e',
    500: '#ccad45',
    950: '#000000',
  },
}
SCSS
$custom: #ccad45;
$custom-light: #dfc57e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad45",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 69
  },
  "hsl": {
    "h": 46.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75568,
    "c": 0.12643,
    "h": 92.4
  },
  "luminance": 0.43154
}

Semantic roles & 50–950 ramp

primary
#CCAD45
secondary
#99A7D3
accent
#6BE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAD45

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

Preview Lab → · Contrast checker → · Palette generator →

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