#CCAA3F#CCAA3F

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

Color values

HEX#CCAA3F
RGBrgb(204, 170, 63)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 16.7%, 69.1%, 20%)
CIE-LABlab(70.84, 0.95, 57.47)
CIE-LCHlch(70.84, 57.48, 89.05°)
OKLaboklab(74.9% -0.0024 0.1289)
OKLCHoklch(74.9% 0.129 91.1)
XYZxyz(40.1759, 41.9481, 10.6823)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA3F #3F61CC
analogous
#CC643F #CCAA3F #A8CC3F
triadic
#CCAA3F #3FCCAA #AA3FCC
tetradic
#CCAA3F #3FCC64 #3F61CC #CC3FA8
square
#CCAA3F #3FCC64 #3F61CC #CC3FA8
split-complementary
#CCAA3F #3FA8CC #643FCC
monochromatic
#725E1E #A3862B #CCAA3F #D9BF6F #E6D5A0

Accessibility & contrast

On white

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

On black

9.39
#CCAA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA3F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA3F#FFFFFF#000000##000000
##CCAA3F1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#DC9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa3f;
/* rgb */ color: rgb(204, 170, 63);
/* oklch */ color: oklch(74.9% 0.129 91.1);
Tailwind
colors: {
  custom: {
    50: '#dfc27a',
    500: '#ccaa3f',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa3f;
$custom-light: #dfc27a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa3f",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 45.532,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.12894,
    "h": 91.1
  },
  "luminance": 0.41946
}

Semantic roles & 50–950 ramp

primary
#CCAA3F
secondary
#95A4D2
accent
#6CE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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