#CAA021#CAA021

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

Color values

HEX#CAA021
RGBrgb(202, 160, 33)
HSLhsl(45, 72%, 46%)
HSVhsv(45, 84%, 79%)
CMYKcmyk(0%, 20.8%, 83.7%, 20.8%)
CIE-LABlab(67.88, 4.20, 65.36)
CIE-LCHlch(67.88, 65.50, 86.32°)
OKLaboklab(72.47% 0.0039 0.1398)
OKLCHoklch(72.47% 0.14 88.4)
XYZxyz(37.2048, 37.8106, 6.7772)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA021 #214BCA
analogous
#CA4B21 #CAA021 #9FCA21
triadic
#CAA021 #21CAA0 #A021CA
tetradic
#CAA021 #21CA4B #214BCA #CA219F
square
#CAA021 #21CA4B #214BCA #CA219F
split-complementary
#CAA021 #219FCA #4B21CA
monochromatic
#614D10 #957618 #CAA021 #E1BB47 #EACE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA021#FFFFFF#000000##000000
##CAA0211.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: #caa021;
/* rgb */ color: rgb(202, 160, 33);
/* oklch */ color: oklch(72.5% 0.140 88.4);
Tailwind
colors: {
  custom: {
    50: '#dfbb6a',
    500: '#caa021',
    950: '#000000',
  },
}
SCSS
$custom: #caa021;
$custom-light: #dfbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#caa021",
  "rgb": {
    "r": 202,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 45.089,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.13989,
    "h": 88.4
  },
  "luminance": 0.37808
}

Semantic roles & 50–950 ramp

primary
#CAA021
secondary
#758CD2
accent
#66EF39
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CAA021

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

Preview Lab → · Contrast checker → · Palette generator →

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