#CD9842#CD9842

#CD9842 is a light, vivid orange. Relative luminance 0.358; OKLCH L 71.4% C 0.120 H 76.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CD9842
RGBrgb(205, 152, 66)
HSLhsl(37, 58%, 53%)
HSVhsv(37, 68%, 80%)
CMYKcmyk(0%, 25.9%, 67.8%, 19.6%)
CIE-LABlab(66.39, 11.23, 51.52)
CIE-LCHlch(66.39, 52.73, 77.70°)
OKLaboklab(71.44% 0.0277 0.1168)
OKLCHoklch(71.44% 0.12 76.6)
XYZxyz(37.3908, 35.8318, 10.1001)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9842 #4277CD
analogous
#CD5242 #CD9842 #BDCD42
triadic
#CD9842 #42CD98 #9842CD
tetradic
#CD9842 #42CD52 #4277CD #CD42BD
square
#CD9842 #42CD52 #4277CD #CD42BD
split-complementary
#CD9842 #42BDCD #5242CD
monochromatic
#76551F #A6772C #CD9842 #DAB272 #E7CDA3

Accessibility & contrast

On white

2.57
#CD9842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CD9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9842
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9842#FFFFFF#000000##000000
##CD98421.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B8A745
Tritanopia (blue-blind)
#DE8A86
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd9842;
/* rgb */ color: rgb(205, 152, 66);
/* oklch */ color: oklch(71.4% 0.120 76.6);
Tailwind
colors: {
  custom: {
    50: '#e0b67a',
    500: '#cd9842',
    950: '#000000',
  },
}
SCSS
$custom: #cd9842;
$custom-light: #e0b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9842",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 37.122,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7144,
    "c": 0.12001,
    "h": 76.6
  },
  "luminance": 0.35829
}

Semantic roles & 50–950 ramp

primary
#CD9842
secondary
#97AED3
accent
#82E146
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CD9842

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

Preview Lab → · Contrast checker → · Palette generator →

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