#CDA040#CDA040

#CDA040 is a light, vivid orange. Relative luminance 0.385; OKLCH L 73.0% C 0.124 H 83.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CDA040
RGBrgb(205, 160, 64)
HSLhsl(41, 59%, 53%)
HSVhsv(41, 69%, 80%)
CMYKcmyk(0%, 22%, 68.8%, 19.6%)
CIE-LABlab(68.38, 6.79, 54.53)
CIE-LCHlch(68.38, 54.95, 82.90°)
OKLaboklab(73% 0.0145 0.1228)
OKLCHoklch(73% 0.124 83.3)
XYZxyz(38.6753, 38.4936, 10.2425)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA040 #406DCD
analogous
#CD5940 #CDA040 #B3CD40
triadic
#CDA040 #40CDA0 #A040CD
tetradic
#CDA040 #40CD59 #406DCD #CD40B3
square
#CDA040 #40CD59 #406DCD #CD40B3
split-complementary
#CDA040 #40B3CD #5940CD
monochromatic
#74591E #A57E2B #CDA040 #DAB871 #E6D0A1

Accessibility & contrast

On white

2.41
#CDA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CDA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA040
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA040#FFFFFF#000000##000000
##CDA0401.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#DE928C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cda040;
/* rgb */ color: rgb(205, 160, 64);
/* oklch */ color: oklch(73.0% 0.124 83.3);
Tailwind
colors: {
  custom: {
    50: '#e0bb7a',
    500: '#cda040',
    950: '#000000',
  },
}
SCSS
$custom: #cda040;
$custom-light: #e0bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda040",
  "rgb": {
    "r": 205,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 40.851,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72996,
    "c": 0.12367,
    "h": 83.3
  },
  "luminance": 0.38491
}

Semantic roles & 50–950 ramp

primary
#CDA040
secondary
#96A9D3
accent
#78E246
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CDA040

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

Preview Lab → · Contrast checker → · Palette generator →

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