#CA9D31#CA9D31

#CA9D31 is a light, vivid orange. Relative luminance 0.369; OKLCH L 72.0% C 0.131 H 84.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CA9D31
RGBrgb(202, 157, 49)
HSLhsl(42, 61%, 49%)
HSVhsv(42, 76%, 79%)
CMYKcmyk(0%, 22.3%, 75.7%, 20.8%)
CIE-LABlab(67.20, 6.37, 59.40)
CIE-LCHlch(67.20, 59.74, 83.88°)
OKLaboklab(71.96% 0.0117 0.1304)
OKLCHoklch(71.96% 0.131 84.9)
XYZxyz(36.9708, 36.8949, 8.0793)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9D31 #315ECA
analogous
#CA5131 #CA9D31 #ABCA31
triadic
#CA9D31 #31CA9D #9D31CA
tetradic
#CA9D31 #31CA51 #315ECA #CA31AB
square
#CA9D31 #31CA51 #315ECA #CA31AB
split-complementary
#CA9D31 #31ABCA #5131CA
monochromatic
#675019 #997725 #CA9D31 #D8B560 #E4CC91

Accessibility & contrast

On white

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

On black

8.38
#CA9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9D31
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9D31#FFFFFF#000000##000000
##CA9D311.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#DB8E88
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca9d31;
/* rgb */ color: rgb(202, 157, 49);
/* oklch */ color: oklch(72.0% 0.131 84.9);
Tailwind
colors: {
  custom: {
    50: '#dfb971',
    500: '#ca9d31',
    950: '#000000',
  },
}
SCSS
$custom: #ca9d31;
$custom-light: #dfb971;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9d31",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 42.353,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71959,
    "c": 0.13093,
    "h": 84.9
  },
  "luminance": 0.36892
}

Semantic roles & 50–950 ramp

primary
#CA9D31
secondary
#889DCF
accent
#73E444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #CA9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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