#CA9D21#CA9D21

#CA9D21 is a light, vivid orange. Relative luminance 0.368; OKLCH L 71.9% C 0.139 H 86.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CA9D21
RGBrgb(202, 157, 33)
HSLhsl(44, 72%, 46%)
HSVhsv(44, 84%, 79%)
CMYKcmyk(0%, 22.3%, 83.7%, 20.8%)
CIE-LABlab(67.11, 5.81, 64.71)
CIE-LCHlch(67.11, 64.97, 84.87°)
OKLaboklab(71.87% 0.0085 0.1384)
OKLCHoklch(71.87% 0.139 86.5)
XYZxyz(36.6910, 36.7830, 6.6059)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9D21 #214ECA
analogous
#CA4921 #CA9D21 #A2CA21
triadic
#CA9D21 #21CA9D #9D21CA
tetradic
#CA9D21 #21CA49 #214ECA #CA21A2
square
#CA9D21 #21CA49 #214ECA #CA21A2
split-complementary
#CA9D21 #21A2CA #4921CA
monochromatic
#614B10 #957418 #CA9D21 #E1B847 #EACC7C

Accessibility & contrast

On white

2.51
#CA9D21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CA9D21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9D21
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9D21#FFFFFF#000000##000000
##CA9D211.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#BCA829
Tritanopia (blue-blind)
#DC8E87
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca9d21;
/* rgb */ color: rgb(202, 157, 33);
/* oklch */ color: oklch(71.9% 0.139 86.5);
Tailwind
colors: {
  custom: {
    50: '#dfb969',
    500: '#ca9d21',
    950: '#000000',
  },
}
SCSS
$custom: #ca9d21;
$custom-light: #dfb969;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9d21",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 44.024,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71866,
    "c": 0.13867,
    "h": 86.5
  },
  "luminance": 0.3678
}

Semantic roles & 50–950 ramp

primary
#CA9D21
secondary
#758ED2
accent
#69EF39
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #CA9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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