#CCAA43#CCAA43

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

Color values

HEX#CCAA43
RGBrgb(204, 170, 67)
HSLhsl(45, 57%, 53%)
HSVhsv(45, 67%, 80%)
CMYKcmyk(0%, 16.7%, 67.2%, 20%)
CIE-LABlab(70.87, 1.18, 55.80)
CIE-LCHlch(70.87, 55.82, 88.79°)
OKLaboklab(74.94% -0.0013 0.1261)
OKLCHoklch(74.94% 0.126 90.6)
XYZxyz(40.2918, 41.9944, 11.2926)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA43 #4365CC
analogous
#CC6543 #CCAA43 #AACC43
triadic
#CCAA43 #43CCAA #AA43CC
tetradic
#CCAA43 #43CC65 #4365CC #CC43AA
square
#CCAA43 #43CC65 #4365CC #CC43AA
split-complementary
#CCAA43 #43AACC #6543CC
monochromatic
#756020 #A5872D #CCAA43 #D9C073 #E6D6A3

Accessibility & contrast

On white

2.23
#CCAA43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CCAA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA43
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA43#FFFFFF#000000##000000
##CCAA431.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA836
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#DC9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa43;
/* rgb */ color: rgb(204, 170, 67);
/* oklch */ color: oklch(74.9% 0.126 90.6);
Tailwind
colors: {
  custom: {
    50: '#dfc37c',
    500: '#ccaa43',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa43;
$custom-light: #dfc37c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa43",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 67
  },
  "hsl": {
    "h": 45.109,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.12607,
    "h": 90.6
  },
  "luminance": 0.41992
}

Semantic roles & 50–950 ramp

primary
#CCAA43
secondary
#98A7D3
accent
#6DE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAA43

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

Preview Lab → · Contrast checker → · Palette generator →

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