#CA9F21#CA9F21

#CA9F21 is a light, vivid orange. Relative luminance 0.375; OKLCH L 72.3% C 0.139 H 87.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CA9F21
RGBrgb(202, 159, 33)
HSLhsl(45, 72%, 46%)
HSVhsv(45, 84%, 79%)
CMYKcmyk(0%, 21.3%, 83.7%, 20.8%)
CIE-LABlab(67.62, 4.74, 65.14)
CIE-LCHlch(67.62, 65.32, 85.84°)
OKLaboklab(72.27% 0.0054 0.1394)
OKLCHoklch(72.27% 0.139 87.8)
XYZxyz(37.0322, 37.4652, 6.7196)
Luminance0.3746 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9F21 #214CCA
analogous
#CA4B21 #CA9F21 #A0CA21
triadic
#CA9F21 #21CA9F #9F21CA
tetradic
#CA9F21 #21CA4B #214CCA #CA21A0
square
#CA9F21 #21CA4B #214CCA #CA21A0
split-complementary
#CA9F21 #21A0CA #4B21CA
monochromatic
#614C10 #957618 #CA9F21 #E1BA47 #EACE7C

Accessibility & contrast

On white

2.47
#CA9F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CA9F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9F21
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9F21#FFFFFF#000000##000000
##CA9F211.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#BDA929
Tritanopia (blue-blind)
#DC9088
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca9f21;
/* rgb */ color: rgb(202, 159, 33);
/* oklch */ color: oklch(72.3% 0.139 87.8);
Tailwind
colors: {
  custom: {
    50: '#dfbb69',
    500: '#ca9f21',
    950: '#000000',
  },
}
SCSS
$custom: #ca9f21;
$custom-light: #dfbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9f21",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 44.734,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72268,
    "c": 0.13946,
    "h": 87.8
  },
  "luminance": 0.37463
}

Semantic roles & 50–950 ramp

primary
#CA9F21
secondary
#758DD2
accent
#67EF39
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CA9F21

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

Preview Lab → · Contrast checker → · Palette generator →

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