#CA9A21#CA9A21

#CA9A21 is a light, vivid orange. Relative luminance 0.358; OKLCH L 71.3% C 0.138 H 84.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CA9A21
RGBrgb(202, 154, 33)
HSLhsl(43, 72%, 46%)
HSVhsv(43, 84%, 79%)
CMYKcmyk(0%, 23.8%, 83.7%, 20.8%)
CIE-LABlab(66.35, 7.43, 64.07)
CIE-LCHlch(66.35, 64.50, 83.38°)
OKLaboklab(71.27% 0.0131 0.137)
OKLCHoklch(71.27% 0.138 84.5)
XYZxyz(36.1897, 35.7803, 6.4388)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9A21 #2151CA
analogous
#CA4621 #CA9A21 #A5CA21
triadic
#CA9A21 #21CA9A #9A21CA
tetradic
#CA9A21 #21CA46 #2151CA #CA21A5
square
#CA9A21 #21CA46 #2151CA #CA21A5
split-complementary
#CA9A21 #21A5CA #4621CA
monochromatic
#614A10 #957218 #CA9A21 #E1B547 #EACA7C

Accessibility & contrast

On white

2.57
#CA9A21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CA9A21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9A21
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9A21#FFFFFF#000000##000000
##CA9A211.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#BAA628
Tritanopia (blue-blind)
#DC8B84
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca9a21;
/* rgb */ color: rgb(202, 154, 33);
/* oklch */ color: oklch(71.3% 0.138 84.5);
Tailwind
colors: {
  custom: {
    50: '#dfb769',
    500: '#ca9a21',
    950: '#000000',
  },
}
SCSS
$custom: #ca9a21;
$custom-light: #dfb769;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9a21",
  "rgb": {
    "r": 202,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 42.959,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71267,
    "c": 0.13762,
    "h": 84.5
  },
  "luminance": 0.35778
}

Semantic roles & 50–950 ramp

primary
#CA9A21
secondary
#758FD2
accent
#6DEF39
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161107
muted
#84807A

Preview Lab

Preview with #CA9A21

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

Preview Lab → · Contrast checker → · Palette generator →

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