#CAA120#CAA120

#CAA120 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.7% C 0.141 H 89.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CAA120
RGBrgb(202, 161, 32)
HSLhsl(46, 73%, 46%)
HSVhsv(46, 84%, 79%)
CMYKcmyk(0%, 20.3%, 84.2%, 20.8%)
CIE-LABlab(68.13, 3.64, 65.85)
CIE-LCHlch(68.13, 65.95, 86.84°)
OKLaboklab(72.67% 0.0022 0.1407)
OKLCHoklch(72.67% 0.141 89.1)
XYZxyz(37.3651, 38.1531, 6.7625)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA120 #2049CA
analogous
#CA4C20 #CAA120 #9ECA20
triadic
#CAA120 #20CAA1 #A120CA
tetradic
#CAA120 #20CA4C #2049CA #CA209E
square
#CAA120 #20CA4C #2049CA #CA209E
split-complementary
#CAA120 #209ECA #4C20CA
monochromatic
#604D0F #957718 #CAA120 #E2BC46 #EACF7A

Accessibility & contrast

On white

2.43
#CAA120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CAA120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA120
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA120#FFFFFF#000000##000000
##CAA1201.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BFAB29
Tritanopia (blue-blind)
#DB928A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #caa120;
/* rgb */ color: rgb(202, 161, 32);
/* oklch */ color: oklch(72.7% 0.141 89.1);
Tailwind
colors: {
  custom: {
    50: '#dfbc69',
    500: '#caa120',
    950: '#000000',
  },
}
SCSS
$custom: #caa120;
$custom-light: #dfbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#caa120",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 45.529,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72667,
    "c": 0.14073,
    "h": 89.1
  },
  "luminance": 0.38151
}

Semantic roles & 50–950 ramp

primary
#CAA120
secondary
#748BD2
accent
#65EF38
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CAA120

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

Preview Lab → · Contrast checker → · Palette generator →

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