#CCAA37#CCAA37

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

Color values

HEX#CCAA37
RGBrgb(204, 170, 55)
HSLhsl(46, 59%, 51%)
HSVhsv(46, 73%, 80%)
CMYKcmyk(0%, 16.7%, 73%, 20%)
CIE-LABlab(70.78, 0.55, 60.63)
CIE-LCHlch(70.78, 60.64, 89.48°)
OKLaboklab(74.84% -0.0045 0.1341)
OKLCHoklch(74.84% 0.134 91.9)
XYZxyz(39.9684, 41.8650, 9.5893)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA37 #3759CC
analogous
#CC5F37 #CCAA37 #A3CC37
triadic
#CCAA37 #37CCAA #AA37CC
tetradic
#CCAA37 #37CC5F #3759CC #CC37A3
square
#CCAA37 #37CC5F #3759CC #CC37A3
split-complementary
#CCAA37 #37A3CC #5F37CC
monochromatic
#6D5A1C #9E8328 #CCAA37 #D8BF68 #E5D399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAA37#FFFFFF#000000##000000
##CCAA371.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)
#BDA825
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#DD9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa37;
/* rgb */ color: rgb(204, 170, 55);
/* oklch */ color: oklch(74.8% 0.134 91.9);
Tailwind
colors: {
  custom: {
    50: '#e0c275',
    500: '#ccaa37',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa37;
$custom-light: #e0c275;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa37",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 46.309,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.13421,
    "h": 91.9
  },
  "luminance": 0.41863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCAA37

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

Preview Lab → · Contrast checker → · Palette generator →

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