#CCAA41#CCAA41

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

Color values

HEX#CCAA41
RGBrgb(204, 170, 65)
HSLhsl(45, 58%, 53%)
HSVhsv(45, 68%, 80%)
CMYKcmyk(0%, 16.7%, 68.1%, 20%)
CIE-LABlab(70.85, 1.06, 56.65)
CIE-LCHlch(70.85, 56.66, 88.92°)
OKLaboklab(74.92% -0.0018 0.1275)
OKLCHoklch(74.92% 0.128 90.8)
XYZxyz(40.2328, 41.9708, 10.9821)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA41 #4163CC
analogous
#CC6541 #CCAA41 #A8CC41
triadic
#CCAA41 #41CCAA #AA41CC
tetradic
#CCAA41 #41CC65 #4163CC #CC41A8
square
#CCAA41 #41CC65 #4163CC #CC41A8
split-complementary
#CCAA41 #41A8CC #6541CC
monochromatic
#745F1F #A4872C #CCAA41 #D9C071 #E6D5A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAA41#FFFFFF#000000##000000
##CCAA411.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)
#BCA834
Deuteranopia (green-blind)
#C5B146
Tritanopia (blue-blind)
#DC9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa41;
/* rgb */ color: rgb(204, 170, 65);
/* oklch */ color: oklch(74.9% 0.128 90.8);
Tailwind
colors: {
  custom: {
    50: '#dfc37b',
    500: '#ccaa41',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa41;
$custom-light: #dfc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa41",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 65
  },
  "hsl": {
    "h": 45.324,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.12752,
    "h": 90.8
  },
  "luminance": 0.41968
}

Semantic roles & 50–950 ramp

primary
#CCAA41
secondary
#96A5D3
accent
#6DE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAA41

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

Preview Lab → · Contrast checker → · Palette generator →

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