#CDA840#CDA840

#CDA840 is a light, vivid orange. Relative luminance 0.414; OKLCH L 74.6% C 0.127 H 89.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CDA840
RGBrgb(205, 168, 64)
HSLhsl(44, 59%, 53%)
HSVhsv(44, 69%, 80%)
CMYKcmyk(0%, 18%, 68.8%, 19.6%)
CIE-LABlab(70.43, 2.51, 56.66)
CIE-LCHlch(70.43, 56.71, 87.47°)
OKLaboklab(74.6% 0.0021 0.1273)
OKLCHoklch(74.6% 0.127 89)
XYZxyz(40.1071, 41.3570, 10.7197)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA840 #4065CD
analogous
#CD6140 #CDA840 #ACCD40
triadic
#CDA840 #40CDA8 #A840CD
tetradic
#CDA840 #40CD61 #4065CD #CD40AC
square
#CDA840 #40CD61 #4065CD #CD40AC
split-complementary
#CDA840 #40ACCD #6140CD
monochromatic
#745E1E #A5852B #CDA840 #DABE71 #E6D4A1

Accessibility & contrast

On white

2.27
#CDA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CDA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA840
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA840#FFFFFF#000000##000000
##CDA8401.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#C4B045
Tritanopia (blue-blind)
#DE9A92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cda840;
/* rgb */ color: rgb(205, 168, 64);
/* oklch */ color: oklch(74.6% 0.127 89.0);
Tailwind
colors: {
  custom: {
    50: '#e0c17a',
    500: '#cda840',
    950: '#000000',
  },
}
SCSS
$custom: #cda840;
$custom-light: #e0c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#cda840",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 44.255,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74603,
    "c": 0.12735,
    "h": 89
  },
  "luminance": 0.41355
}

Semantic roles & 50–950 ramp

primary
#CDA840
secondary
#96A6D3
accent
#6FE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDA840

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

Preview Lab → · Contrast checker → · Palette generator →

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