#CCAD39#CCAD39

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

Color values

HEX#CCAD39
RGBrgb(204, 173, 57)
HSLhsl(47, 59%, 51%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 15.2%, 72.1%, 20%)
CIE-LABlab(71.57, -0.94, 60.64)
CIE-LCHlch(71.57, 60.65, 90.89°)
OKLaboklab(75.47% -0.0085 0.1345)
OKLCHoklch(75.47% 0.135 93.6)
XYZxyz(40.5861, 43.0222, 10.0365)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD39 #3958CC
analogous
#CC6339 #CCAD39 #A1CC39
triadic
#CCAD39 #39CCAD #AD39CC
tetradic
#CCAD39 #39CC63 #3958CC #CC39A1
square
#CCAD39 #39CC63 #3958CC #CC39A1
split-complementary
#CCAD39 #39A1CC #6339CC
monochromatic
#6E5D1C #9F8629 #CCAD39 #D9C16A #E5D59A

Accessibility & contrast

On white

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

On black

9.60
#CCAD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD39
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD39#FFFFFF#000000##000000
##CCAD391.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccad39;
/* rgb */ color: rgb(204, 173, 57);
/* oklch */ color: oklch(75.5% 0.135 93.6);
Tailwind
colors: {
  custom: {
    50: '#e0c577',
    500: '#ccad39',
    950: '#000000',
  },
}
SCSS
$custom: #ccad39;
$custom-light: #e0c577;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad39",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 57
  },
  "hsl": {
    "h": 47.347,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75467,
    "c": 0.1348,
    "h": 93.6
  },
  "luminance": 0.4302
}

Semantic roles & 50–950 ramp

primary
#CCAD39
secondary
#909ED1
accent
#67E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAD39

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

Preview Lab → · Contrast checker → · Palette generator →

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