#CAA224#CAA224

#CAA224 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.9% C 0.140 H 89.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CAA224
RGBrgb(202, 162, 36)
HSLhsl(46, 70%, 47%)
HSVhsv(46, 82%, 79%)
CMYKcmyk(0%, 19.8%, 82.2%, 20.8%)
CIE-LABlab(68.41, 3.21, 64.94)
CIE-LCHlch(68.41, 65.02, 87.17°)
OKLaboklab(72.89% 0.0013 0.1396)
OKLCHoklch(72.89% 0.14 89.5)
XYZxyz(37.5982, 38.5271, 7.1249)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA224 #244CCA
analogous
#CA4F24 #CAA224 #9FCA24
triadic
#CAA224 #24CAA2 #A224CA
tetradic
#CAA224 #24CA4F #244CCA #CA249F
square
#CAA224 #24CA4F #244CCA #CA249F
split-complementary
#CAA224 #249FCA #4F24CA
monochromatic
#624F11 #96781B #CAA224 #DFBC4C #E8CF80

Accessibility & contrast

On white

2.41
#CAA224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CAA224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA224
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA224#FFFFFF#000000##000000
##CAA2241.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#DB938B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa224;
/* rgb */ color: rgb(202, 162, 36);
/* oklch */ color: oklch(72.9% 0.140 89.5);
Tailwind
colors: {
  custom: {
    50: '#dfbd6b',
    500: '#caa224',
    950: '#000000',
  },
}
SCSS
$custom: #caa224;
$custom-light: #dfbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#caa224",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 45.542,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.13956,
    "h": 89.5
  },
  "luminance": 0.38525
}

Semantic roles & 50–950 ramp

primary
#CAA224
secondary
#798ED1
accent
#66ED3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA224

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

Preview Lab → · Contrast checker → · Palette generator →

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