#CA9940#CA9940

#CA9940 is a light, vivid orange. Relative luminance 0.357; OKLCH L 71.3% C 0.120 H 79.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CA9940
RGBrgb(202, 153, 64)
HSLhsl(39, 57%, 52%)
HSVhsv(39, 68%, 79%)
CMYKcmyk(0%, 24.3%, 68.3%, 20.8%)
CIE-LABlab(66.30, 9.28, 52.23)
CIE-LCHlch(66.30, 53.05, 79.93°)
OKLaboklab(71.29% 0.0219 0.118)
OKLCHoklch(71.29% 0.12 79.5)
XYZxyz(36.6760, 35.7118, 9.8109)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9940 #4071CA
analogous
#CA5440 #CA9940 #B6CA40
triadic
#CA9940 #40CA99 #9940CA
tetradic
#CA9940 #40CA54 #4071CA #CA40B6
square
#CA9940 #40CA54 #4071CA #CA40B6
split-complementary
#CA9940 #40B6CA #5440CA
monochromatic
#70541F #A0772C #CA9940 #D7B370 #E5CCA0

Accessibility & contrast

On white

2.58
#CA9940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CA9940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9940
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9940#FFFFFF#000000##000000
##CA99401.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A36
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#DB8B86
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca9940;
/* rgb */ color: rgb(202, 153, 64);
/* oklch */ color: oklch(71.3% 0.120 79.5);
Tailwind
colors: {
  custom: {
    50: '#deb679',
    500: '#ca9940',
    950: '#000000',
  },
}
SCSS
$custom: #ca9940;
$custom-light: #deb679;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9940",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 38.696,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.12006,
    "h": 79.5
  },
  "luminance": 0.35709
}

Semantic roles & 50–950 ramp

primary
#CA9940
secondary
#95AAD1
accent
#7EE048
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CA9940

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

Preview Lab → · Contrast checker → · Palette generator →

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