#CDA340#CDA340

#CDA340 is a light, vivid orange. Relative luminance 0.395; OKLCH L 73.6% C 0.125 H 85.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CDA340
RGBrgb(205, 163, 64)
HSLhsl(42, 59%, 53%)
HSVhsv(42, 69%, 80%)
CMYKcmyk(0%, 20.5%, 68.8%, 19.6%)
CIE-LABlab(69.15, 5.18, 55.33)
CIE-LCHlch(69.15, 55.57, 84.65°)
OKLaboklab(73.6% 0.0099 0.1245)
OKLCHoklch(73.6% 0.125 85.5)
XYZxyz(39.2017, 39.5463, 10.4179)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA340 #406ACD
analogous
#CD5D40 #CDA340 #B0CD40
triadic
#CDA340 #40CDA3 #A340CD
tetradic
#CDA340 #40CD5D #406ACD #CD40B0
square
#CDA340 #40CD5D #406ACD #CD40B0
split-complementary
#CDA340 #40B0CD #5D40CD
monochromatic
#745B1E #A5802B #CDA340 #DABA71 #E6D2A1

Accessibility & contrast

On white

2.36
#CDA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CDA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA340
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA340#FFFFFF#000000##000000
##CDA3401.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A234
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#DE958E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cda340;
/* rgb */ color: rgb(205, 163, 64);
/* oklch */ color: oklch(73.6% 0.125 85.5);
Tailwind
colors: {
  custom: {
    50: '#e0be7a',
    500: '#cda340',
    950: '#000000',
  },
}
SCSS
$custom: #cda340;
$custom-light: #e0be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda340",
  "rgb": {
    "r": 205,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 42.128,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.1249,
    "h": 85.5
  },
  "luminance": 0.39544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDA340

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

Preview Lab → · Contrast checker → · Palette generator →

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