#CAA022#CAA022

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

Color values

HEX#CAA022
RGBrgb(202, 160, 34)
HSLhsl(45, 71%, 46%)
HSVhsv(45, 83%, 79%)
CMYKcmyk(0%, 20.8%, 83.2%, 20.8%)
CIE-LABlab(67.88, 4.23, 65.08)
CIE-LCHlch(67.88, 65.21, 86.28°)
OKLaboklab(72.47% 0.004 0.1394)
OKLCHoklch(72.47% 0.139 88.3)
XYZxyz(37.2191, 37.8162, 6.8520)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA022 #224CCA
analogous
#CA4C22 #CAA022 #A0CA22
triadic
#CAA022 #22CAA0 #A022CA
tetradic
#CAA022 #22CA4C #224CCA #CA22A0
square
#CAA022 #22CA4C #224CCA #CA22A0
split-complementary
#CAA022 #22A0CA #4C22CA
monochromatic
#614D10 #967719 #CAA022 #E0BA49 #E9CE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA022#FFFFFF#000000##000000
##CAA0221.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)
#BEAA2A
Tritanopia (blue-blind)
#DB9189
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #caa022;
/* rgb */ color: rgb(202, 160, 34);
/* oklch */ color: oklch(72.5% 0.139 88.3);
Tailwind
colors: {
  custom: {
    50: '#dfbb6a',
    500: '#caa022',
    950: '#000000',
  },
}
SCSS
$custom: #caa022;
$custom-light: #dfbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#caa022",
  "rgb": {
    "r": 202,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72474,
    "c": 0.13949,
    "h": 88.3
  },
  "luminance": 0.37814
}

Semantic roles & 50–950 ramp

primary
#CAA022
secondary
#778DD1
accent
#67EE3A
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CAA022

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

Preview Lab → · Contrast checker → · Palette generator →

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