#CD9840#CD9840

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

Color values

HEX#CD9840
RGBrgb(205, 152, 64)
HSLhsl(37, 59%, 53%)
HSVhsv(37, 69%, 80%)
CMYKcmyk(0%, 25.9%, 68.8%, 19.6%)
CIE-LABlab(66.37, 11.12, 52.41)
CIE-LCHlch(66.37, 53.57, 78.02°)
OKLaboklab(71.42% 0.0271 0.1183)
OKLCHoklch(71.42% 0.121 77.1)
XYZxyz(37.3329, 35.8086, 9.7950)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9840 #4075CD
analogous
#CD5240 #CD9840 #BBCD40
triadic
#CD9840 #40CD98 #9840CD
tetradic
#CD9840 #40CD52 #4075CD #CD40BB
square
#CD9840 #40CD52 #4075CD #CD40BB
split-complementary
#CD9840 #40BBCD #5240CD
monochromatic
#74541E #A5772B #CD9840 #DAB271 #E6CCA1

Accessibility & contrast

On white

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

On black

8.16
#CD9840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9840
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9840#FFFFFF#000000##000000
##CD98401.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9840;
/* rgb */ color: rgb(205, 152, 64);
/* oklch */ color: oklch(71.4% 0.121 77.1);
Tailwind
colors: {
  custom: {
    50: '#e0b679',
    500: '#cd9840',
    950: '#000000',
  },
}
SCSS
$custom: #cd9840;
$custom-light: #e0b679;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9840",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 37.447,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71421,
    "c": 0.12138,
    "h": 77.1
  },
  "luminance": 0.35806
}

Semantic roles & 50–950 ramp

primary
#CD9840
secondary
#96ADD3
accent
#81E246
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CD9840

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

Preview Lab → · Contrast checker → · Palette generator →

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