#CAA020#CAA020

#CAA020 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.5% C 0.140 H 88.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CAA020
RGBrgb(202, 160, 32)
HSLhsl(45, 73%, 46%)
HSVhsv(45, 84%, 79%)
CMYKcmyk(0%, 20.8%, 84.2%, 20.8%)
CIE-LABlab(67.88, 4.17, 65.64)
CIE-LCHlch(67.88, 65.77, 86.36°)
OKLaboklab(72.47% 0.0037 0.1402)
OKLCHoklch(72.47% 0.14 88.5)
XYZxyz(37.1910, 37.8050, 6.7045)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA020 #204ACA
analogous
#CA4B20 #CAA020 #9FCA20
triadic
#CAA020 #20CAA0 #A020CA
tetradic
#CAA020 #20CA4B #204ACA #CA209F
square
#CAA020 #20CA4B #204ACA #CA209F
split-complementary
#CAA020 #209FCA #4B20CA
monochromatic
#604C0F #957618 #CAA020 #E2BB46 #EACE7A

Accessibility & contrast

On white

2.45
#CAA020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CAA020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA020
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA020#FFFFFF#000000##000000
##CAA0201.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#BEAA29
Tritanopia (blue-blind)
#DB9189
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #caa020;
/* rgb */ color: rgb(202, 160, 32);
/* oklch */ color: oklch(72.5% 0.140 88.5);
Tailwind
colors: {
  custom: {
    50: '#dfbb69',
    500: '#caa020',
    950: '#000000',
  },
}
SCSS
$custom: #caa020;
$custom-light: #dfbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#caa020",
  "rgb": {
    "r": 202,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 45.176,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72465,
    "c": 0.14029,
    "h": 88.5
  },
  "luminance": 0.37802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA020

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

Preview Lab → · Contrast checker → · Palette generator →

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