#CCAA35#CCAA35

#CCAA35 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.135 H 92.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CCAA35
RGBrgb(204, 170, 53)
HSLhsl(46, 60%, 50%)
HSVhsv(46, 74%, 80%)
CMYKcmyk(0%, 16.7%, 74%, 20%)
CIE-LABlab(70.76, 0.46, 61.38)
CIE-LCHlch(70.76, 61.39, 89.57°)
OKLaboklab(74.82% -0.005 0.1354)
OKLCHoklch(74.82% 0.135 92.1)
XYZxyz(39.9214, 41.8463, 9.3419)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA35 #3557CC
analogous
#CC5E35 #CCAA35 #A2CC35
triadic
#CCAA35 #35CCAA #AA35CC
tetradic
#CCAA35 #35CC5E #3557CC #CC35A2
square
#CCAA35 #35CC5E #3557CC #CC35A2
split-complementary
#CCAA35 #35A2CC #5E35CC
monochromatic
#6B591B #9C8227 #CCAA35 #D8BF66 #E5D397

Accessibility & contrast

On white

2.24
#CCAA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#CCAA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA35
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA35#FFFFFF#000000##000000
##CCAA351.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA722
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#DD9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa35;
/* rgb */ color: rgb(204, 170, 53);
/* oklch */ color: oklch(74.8% 0.135 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c274',
    500: '#ccaa35',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa35;
$custom-light: #e0c274;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa35",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 53
  },
  "hsl": {
    "h": 46.49,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74823,
    "c": 0.13544,
    "h": 92.1
  },
  "luminance": 0.41844
}

Semantic roles & 50–950 ramp

primary
#CCAA35
secondary
#8D9CD0
accent
#69E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA35

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

Preview Lab → · Contrast checker → · Palette generator →

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