#CDA940#CDA940

#CDA940 is a light, vivid orange. Relative luminance 0.417; OKLCH L 74.8% C 0.128 H 89.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CDA940
RGBrgb(205, 169, 64)
HSLhsl(45, 59%, 53%)
HSVhsv(45, 69%, 80%)
CMYKcmyk(0%, 17.6%, 68.8%, 19.6%)
CIE-LABlab(70.68, 1.97, 56.93)
CIE-LCHlch(70.68, 56.96, 88.02°)
OKLaboklab(74.81% 0.0006 0.1279)
OKLCHoklch(74.81% 0.128 89.7)
XYZxyz(40.2924, 41.7277, 10.7815)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA940 #4064CD
analogous
#CD6340 #CDA940 #AACD40
triadic
#CDA940 #40CDA9 #A940CD
tetradic
#CDA940 #40CD63 #4064CD #CD40AA
square
#CDA940 #40CD63 #4064CD #CD40AA
split-complementary
#CDA940 #40AACD #6340CD
monochromatic
#745E1E #A5862B #CDA940 #DABF71 #E6D5A1

Accessibility & contrast

On white

2.25
#CDA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#CDA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA940
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA940#FFFFFF#000000##000000
##CDA9401.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#DE9B93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cda940;
/* rgb */ color: rgb(205, 169, 64);
/* oklch */ color: oklch(74.8% 0.128 89.7);
Tailwind
colors: {
  custom: {
    50: '#e0c27a',
    500: '#cda940',
    950: '#000000',
  },
}
SCSS
$custom: #cda940;
$custom-light: #e0c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda940",
  "rgb": {
    "r": 205,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 44.681,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.1279,
    "h": 89.7
  },
  "luminance": 0.41725
}

Semantic roles & 50–950 ramp

primary
#CDA940
secondary
#96A5D3
accent
#6EE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDA940

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

Preview Lab → · Contrast checker → · Palette generator →

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