#CCAA3C#CCAA3C

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

Color values

HEX#CCAA3C
RGBrgb(204, 170, 60)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.7%, 70.6%, 20%)
CIE-LABlab(70.81, 0.80, 58.69)
CIE-LCHlch(70.81, 58.69, 89.22°)
OKLaboklab(74.88% -0.0032 0.131)
OKLCHoklch(74.88% 0.131 91.4)
XYZxyz(40.0943, 41.9154, 10.2528)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA3C #3C5ECC
analogous
#CC623C #CCAA3C #A6CC3C
triadic
#CCAA3C #3CCCAA #AA3CCC
tetradic
#CCAA3C #3CCC62 #3C5ECC #CC3CA6
square
#CCAA3C #3CCC62 #3C5ECC #CC3CA6
split-complementary
#CCAA3C #3CA6CC #623CCC
monochromatic
#705D1D #A1852A #CCAA3C #D9BF6D #E5D49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAA3C#FFFFFF#000000##000000
##CCAA3C1.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)
#BCA82D
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#DC9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa3c;
/* rgb */ color: rgb(204, 170, 60);
/* oklch */ color: oklch(74.9% 0.131 91.4);
Tailwind
colors: {
  custom: {
    50: '#dfc278',
    500: '#ccaa3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa3c;
$custom-light: #dfc278;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa3c",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 45.833,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74876,
    "c": 0.13099,
    "h": 91.4
  },
  "luminance": 0.41913
}

Semantic roles & 50–950 ramp

primary
#CCAA3C
secondary
#92A1D1
accent
#6BE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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