#CA9842#CA9842

#CA9842 is a light, moderate orange. Relative luminance 0.354; OKLCH L 71.1% C 0.118 H 78.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CA9842
RGBrgb(202, 152, 66)
HSLhsl(38, 56%, 53%)
HSVhsv(38, 67%, 79%)
CMYKcmyk(0%, 24.8%, 67.3%, 20.8%)
CIE-LABlab(66.07, 9.93, 51.07)
CIE-LCHlch(66.07, 52.03, 78.99°)
OKLaboklab(71.11% 0.0241 0.1159)
OKLCHoklch(71.11% 0.118 78.2)
XYZxyz(36.5710, 35.4090, 10.0617)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9842 #4274CA
analogous
#CA5442 #CA9842 #B8CA42
triadic
#CA9842 #42CA98 #9842CA
tetradic
#CA9842 #42CA54 #4274CA #CA42B8
square
#CA9842 #42CA54 #4274CA #CA42B8
split-complementary
#CA9842 #42B8CA #5442CA
monochromatic
#725420 #A2772D #CA9842 #D7B272 #E5CCA2

Accessibility & contrast

On white

2.60
#CA9842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CA9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9842
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9842#FFFFFF#000000##000000
##CA98421.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9938
Deuteranopia (green-blind)
#B7A645
Tritanopia (blue-blind)
#DB8A85
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca9842;
/* rgb */ color: rgb(202, 152, 66);
/* oklch */ color: oklch(71.1% 0.118 78.2);
Tailwind
colors: {
  custom: {
    50: '#deb67a',
    500: '#ca9842',
    950: '#000000',
  },
}
SCSS
$custom: #ca9842;
$custom-light: #deb67a;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9842",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 37.941,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.1184,
    "h": 78.2
  },
  "luminance": 0.35406
}

Semantic roles & 50–950 ramp

primary
#CA9842
secondary
#96ACD1
accent
#80DF48
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CA9842

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

Preview Lab → · Contrast checker → · Palette generator →

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