#CA9938#CA9938

#CA9938 is a light, vivid orange. Relative luminance 0.356; OKLCH L 71.2% C 0.125 H 81.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CA9938
RGBrgb(202, 153, 56)
HSLhsl(40, 58%, 51%)
HSVhsv(40, 72%, 79%)
CMYKcmyk(0%, 24.3%, 72.3%, 20.8%)
CIE-LABlab(66.23, 8.86, 55.65)
CIE-LCHlch(66.23, 56.35, 80.96°)
OKLaboklab(71.22% 0.0197 0.1238)
OKLCHoklch(71.22% 0.125 81)
XYZxyz(36.4645, 35.6272, 8.6968)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9938 #3869CA
analogous
#CA5038 #CA9938 #B2CA38
triadic
#CA9938 #38CA99 #9938CA
tetradic
#CA9938 #38CA50 #3869CA #CA38B2
square
#CA9938 #38CA50 #3869CA #CA38B2
split-complementary
#CA9938 #38B2CA #5038CA
monochromatic
#6B511D #9B7529 #CA9938 #D7B268 #E4CB99

Accessibility & contrast

On white

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

On black

8.13
#CA9938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9938
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9938#FFFFFF#000000##000000
##CA99381.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca9938;
/* rgb */ color: rgb(202, 153, 56);
/* oklch */ color: oklch(71.2% 0.125 81.0);
Tailwind
colors: {
  custom: {
    50: '#dfb674',
    500: '#ca9938',
    950: '#000000',
  },
}
SCSS
$custom: #ca9938;
$custom-light: #dfb674;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9938",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 39.863,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71218,
    "c": 0.1254,
    "h": 81
  },
  "luminance": 0.35625
}

Semantic roles & 50–950 ramp

primary
#CA9938
secondary
#8EA4CF
accent
#7AE147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CA9938

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

Preview Lab → · Contrast checker → · Palette generator →

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