#CA9840#CA9840

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

Color values

HEX#CA9840
RGBrgb(202, 152, 64)
HSLhsl(38, 57%, 52%)
HSVhsv(38, 68%, 79%)
CMYKcmyk(0%, 24.8%, 68.3%, 20.8%)
CIE-LABlab(66.05, 9.82, 51.97)
CIE-LCHlch(66.05, 52.88, 79.30°)
OKLaboklab(71.09% 0.0235 0.1175)
OKLCHoklch(71.09% 0.12 78.7)
XYZxyz(36.5130, 35.3859, 9.7565)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9840 #4072CA
analogous
#CA5340 #CA9840 #B7CA40
triadic
#CA9840 #40CA98 #9840CA
tetradic
#CA9840 #40CA53 #4072CA #CA40B7
square
#CA9840 #40CA53 #4072CA #CA40B7
split-complementary
#CA9840 #40B7CA #5340CA
monochromatic
#70531F #A0762C #CA9840 #D7B270 #E5CCA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA9840#FFFFFF#000000##000000
##CA98401.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)
#AC9936
Deuteranopia (green-blind)
#B7A643
Tritanopia (blue-blind)
#DB8A85
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca9840;
/* rgb */ color: rgb(202, 152, 64);
/* oklch */ color: oklch(71.1% 0.120 78.7);
Tailwind
colors: {
  custom: {
    50: '#deb679',
    500: '#ca9840',
    950: '#000000',
  },
}
SCSS
$custom: #ca9840;
$custom-light: #deb679;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9840",
  "rgb": {
    "r": 202,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 38.261,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.11981,
    "h": 78.7
  },
  "luminance": 0.35383
}

Semantic roles & 50–950 ramp

primary
#CA9840
secondary
#95ABD1
accent
#7FE048
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CA9840

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

Preview Lab → · Contrast checker → · Palette generator →

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