#CDA540#CDA540

#CDA540 is a light, vivid orange. Relative luminance 0.403; OKLCH L 74.0% C 0.126 H 86.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CDA540
RGBrgb(205, 165, 64)
HSLhsl(43, 59%, 53%)
HSVhsv(43, 69%, 80%)
CMYKcmyk(0%, 19.5%, 68.8%, 19.6%)
CIE-LABlab(69.66, 4.11, 55.86)
CIE-LCHlch(69.66, 56.01, 85.79°)
OKLaboklab(74% 0.0068 0.1256)
OKLCHoklch(74% 0.126 86.9)
XYZxyz(39.5596, 40.2621, 10.5372)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA540 #4068CD
analogous
#CD5F40 #CDA540 #AECD40
triadic
#CDA540 #40CDA5 #A540CD
tetradic
#CDA540 #40CD5F #4068CD #CD40AE
square
#CDA540 #40CD5F #4068CD #CD40AE
split-complementary
#CDA540 #40AECD #5F40CD
monochromatic
#745C1E #A5822B #CDA540 #DABC71 #E6D3A1

Accessibility & contrast

On white

2.32
#CDA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CDA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA540
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA540#FFFFFF#000000##000000
##CDA5401.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#DE9790
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cda540;
/* rgb */ color: rgb(205, 165, 64);
/* oklch */ color: oklch(74.0% 0.126 86.9);
Tailwind
colors: {
  custom: {
    50: '#e0bf7a',
    500: '#cda540',
    950: '#000000',
  },
}
SCSS
$custom: #cda540;
$custom-light: #e0bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda540",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 42.979,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73997,
    "c": 0.12582,
    "h": 86.9
  },
  "luminance": 0.4026
}

Semantic roles & 50–950 ramp

primary
#CDA540
secondary
#96A7D3
accent
#72E246
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA540

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

Preview Lab → · Contrast checker → · Palette generator →

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