#CCAA39#CCAA39

#CCAA39 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.133 H 91.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CCAA39
RGBrgb(204, 170, 57)
HSLhsl(46, 59%, 51%)
HSVhsv(46, 72%, 80%)
CMYKcmyk(0%, 16.7%, 72.1%, 20%)
CIE-LABlab(70.79, 0.65, 59.87)
CIE-LCHlch(70.79, 59.87, 89.38°)
OKLaboklab(74.85% -0.004 0.1329)
OKLCHoklch(74.85% 0.133 91.7)
XYZxyz(40.0173, 41.8846, 9.8469)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA39 #395BCC
analogous
#CC6039 #CCAA39 #A5CC39
triadic
#CCAA39 #39CCAA #AA39CC
tetradic
#CCAA39 #39CC60 #395BCC #CC39A5
square
#CCAA39 #39CC60 #395BCC #CC39A5
split-complementary
#CCAA39 #39A5CC #6039CC
monochromatic
#6E5B1C #9F8429 #CCAA39 #D9BF6A #E5D49A

Accessibility & contrast

On white

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

On black

9.38
#CCAA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA39
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA39#FFFFFF#000000##000000
##CCAA391.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccaa39;
/* rgb */ color: rgb(204, 170, 57);
/* oklch */ color: oklch(74.9% 0.133 91.7);
Tailwind
colors: {
  custom: {
    50: '#e0c276',
    500: '#ccaa39',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa39;
$custom-light: #e0c276;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa39",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 46.122,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74852,
    "c": 0.13296,
    "h": 91.7
  },
  "luminance": 0.41882
}

Semantic roles & 50–950 ramp

primary
#CCAA39
secondary
#909FD1
accent
#6AE246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA39

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

Preview Lab → · Contrast checker → · Palette generator →

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