#CCAA3B#CCAA3B

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

Color values

HEX#CCAA3B
RGBrgb(204, 170, 59)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.7%, 71.1%, 20%)
CIE-LABlab(70.81, 0.75, 59.09)
CIE-LCHlch(70.81, 59.09, 89.28°)
OKLaboklab(74.87% -0.0035 0.1316)
OKLCHoklch(74.87% 0.132 91.5)
XYZxyz(40.0682, 41.9050, 10.1148)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA3B #3B5DCC
analogous
#CC623B #CCAA3B #A6CC3B
triadic
#CCAA3B #3BCCAA #AA3BCC
tetradic
#CCAA3B #3BCC62 #3B5DCC #CC3BA6
square
#CCAA3B #3BCC62 #3B5DCC #CC3BA6
split-complementary
#CCAA3B #3BA6CC #623BCC
monochromatic
#705C1D #A0842A #CCAA3B #D9BF6C #E5D49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAA3B#FFFFFF#000000##000000
##CCAA3B1.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)
#BDA82B
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#DD9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa3b;
/* rgb */ color: rgb(204, 170, 59);
/* oklch */ color: oklch(74.9% 0.132 91.5);
Tailwind
colors: {
  custom: {
    50: '#e0c277',
    500: '#ccaa3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa3b;
$custom-light: #e0c277;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa3b",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 45.931,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74868,
    "c": 0.13166,
    "h": 91.5
  },
  "luminance": 0.41903
}

Semantic roles & 50–950 ramp

primary
#CCAA3B
secondary
#92A0D1
accent
#6AE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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