#CDA240#CDA240

#CDA240 is a light, vivid orange. Relative luminance 0.392; OKLCH L 73.4% C 0.124 H 84.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CDA240
RGBrgb(205, 162, 64)
HSLhsl(42, 59%, 53%)
HSVhsv(42, 69%, 80%)
CMYKcmyk(0%, 21%, 68.8%, 19.6%)
CIE-LABlab(68.89, 5.72, 55.06)
CIE-LCHlch(68.89, 55.36, 84.07°)
OKLaboklab(73.4% 0.0114 0.1239)
OKLCHoklch(73.4% 0.124 84.7)
XYZxyz(39.0248, 39.1926, 10.3590)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA240 #406BCD
analogous
#CD5B40 #CDA240 #B1CD40
triadic
#CDA240 #40CDA2 #A240CD
tetradic
#CDA240 #40CD5B #406BCD #CD40B1
square
#CDA240 #40CD5B #406BCD #CD40B1
split-complementary
#CDA240 #40B1CD #5B40CD
monochromatic
#745A1E #A5802B #CDA240 #DABA71 #E6D1A1

Accessibility & contrast

On white

2.38
#CDA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CDA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA240
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA240#FFFFFF#000000##000000
##CDA2401.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A234
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#DE948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda240;
/* rgb */ color: rgb(205, 162, 64);
/* oklch */ color: oklch(73.4% 0.124 84.7);
Tailwind
colors: {
  custom: {
    50: '#e0bd7a',
    500: '#cda240',
    950: '#000000',
  },
}
SCSS
$custom: #cda240;
$custom-light: #e0bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda240",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 41.702,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73395,
    "c": 0.12446,
    "h": 84.7
  },
  "luminance": 0.3919
}

Semantic roles & 50–950 ramp

primary
#CDA240
secondary
#96A8D3
accent
#76E246
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA240

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

Preview Lab → · Contrast checker → · Palette generator →

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