#CA9821#CA9821

#CA9821 is a light, vivid orange. Relative luminance 0.351; OKLCH L 70.9% C 0.137 H 83.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CA9821
RGBrgb(202, 152, 33)
HSLhsl(42, 72%, 46%)
HSVhsv(42, 84%, 79%)
CMYKcmyk(0%, 24.8%, 83.7%, 20.8%)
CIE-LABlab(65.85, 8.52, 63.64)
CIE-LCHlch(65.85, 64.20, 82.38°)
OKLaboklab(70.87% 0.0162 0.1361)
OKLCHoklch(70.87% 0.137 83.2)
XYZxyz(35.8624, 35.1256, 6.3297)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9821 #2153CA
analogous
#CA4421 #CA9821 #A7CA21
triadic
#CA9821 #21CA98 #9821CA
tetradic
#CA9821 #21CA44 #2153CA #CA21A7
square
#CA9821 #21CA44 #2153CA #CA21A7
split-complementary
#CA9821 #21A7CA #4421CA
monochromatic
#614910 #957018 #CA9821 #E1B347 #EAC97C

Accessibility & contrast

On white

2.62
#CA9821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CA9821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9821
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9821#FFFFFF#000000##000000
##CA98211.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B9A528
Tritanopia (blue-blind)
#DC8982
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca9821;
/* rgb */ color: rgb(202, 152, 33);
/* oklch */ color: oklch(70.9% 0.137 83.2);
Tailwind
colors: {
  custom: {
    50: '#dfb669',
    500: '#ca9821',
    950: '#000000',
  },
}
SCSS
$custom: #ca9821;
$custom-light: #dfb669;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9821",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 42.249,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.13701,
    "h": 83.2
  },
  "luminance": 0.35123
}

Semantic roles & 50–950 ramp

primary
#CA9821
secondary
#7591D2
accent
#6FEF39
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161107
muted
#84807A

Preview Lab

Preview with #CA9821

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

Preview Lab → · Contrast checker → · Palette generator →

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