#CD9E40#CD9E40

#CD9E40 is a light, vivid orange. Relative luminance 0.378; OKLCH L 72.6% C 0.123 H 81.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CD9E40
RGBrgb(205, 158, 64)
HSLhsl(40, 59%, 53%)
HSVhsv(40, 69%, 80%)
CMYKcmyk(0%, 22.9%, 68.8%, 19.6%)
CIE-LABlab(67.88, 7.87, 54.00)
CIE-LCHlch(67.88, 54.57, 81.71°)
OKLaboklab(72.6% 0.0177 0.1217)
OKLCHoklch(72.6% 0.123 81.7)
XYZxyz(38.3314, 37.8057, 10.1278)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9E40 #406FCD
analogous
#CD5740 #CD9E40 #B5CD40
triadic
#CD9E40 #40CD9E #9E40CD
tetradic
#CD9E40 #40CD57 #406FCD #CD40B5
square
#CD9E40 #40CD57 #406FCD #CD40B5
split-complementary
#CD9E40 #40B5CD #5740CD
monochromatic
#74581E #A57C2B #CD9E40 #DAB771 #E6CFA1

Accessibility & contrast

On white

2.45
#CD9E40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CD9E40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9E40
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9E40#FFFFFF#000000##000000
##CD9E401.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E35
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#DE908A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd9e40;
/* rgb */ color: rgb(205, 158, 64);
/* oklch */ color: oklch(72.6% 0.123 81.7);
Tailwind
colors: {
  custom: {
    50: '#e0ba79',
    500: '#cd9e40',
    950: '#000000',
  },
}
SCSS
$custom: #cd9e40;
$custom-light: #e0ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9e40",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 40,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72599,
    "c": 0.12296,
    "h": 81.7
  },
  "luminance": 0.37803
}

Semantic roles & 50–950 ramp

primary
#CD9E40
secondary
#96AAD3
accent
#7AE246
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CD9E40

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

Preview Lab → · Contrast checker → · Palette generator →

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