#D2A540#D2A540

#D2A540 is a light, vivid orange. Relative luminance 0.410; OKLCH L 74.5% C 0.128 H 84.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D2A540
RGBrgb(210, 165, 64)
HSLhsl(42, 62%, 54%)
HSVhsv(42, 70%, 82%)
CMYKcmyk(0%, 21.4%, 69.5%, 17.6%)
CIE-LABlab(70.17, 6.27, 56.55)
CIE-LCHlch(70.17, 56.89, 83.67°)
OKLaboklab(74.51% 0.0127 0.1269)
OKLCHoklch(74.51% 0.128 84.3)
XYZxyz(40.9613, 40.9848, 10.6029)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A540 #406DD2
analogous
#D25C40 #D2A540 #B6D240
triadic
#D2A540 #40D2A5 #A540D2
tetradic
#D2A540 #40D25C #406DD2 #D240B6
square
#D2A540 #40D25C #406DD2 #D240B6
split-complementary
#D2A540 #40B6D2 #5C40D2
monochromatic
#7B5E1D #AC8429 #D2A540 #DEBC72 #E9D4A3

Accessibility & contrast

On white

2.28
#D2A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D2A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A540
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A540#FFFFFF#000000##000000
##D2A5401.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#E39790
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d2a540;
/* rgb */ color: rgb(210, 165, 64);
/* oklch */ color: oklch(74.5% 0.128 84.3);
Tailwind
colors: {
  custom: {
    50: '#e4bf7a',
    500: '#d2a540',
    950: '#000000',
  },
}
SCSS
$custom: #d2a540;
$custom-light: #e4bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a540",
  "rgb": {
    "r": 210,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 41.507,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74514,
    "c": 0.12755,
    "h": 84.3
  },
  "luminance": 0.40982
}

Semantic roles & 50–950 ramp

primary
#D2A540
secondary
#98ABD6
accent
#75E543
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2A540

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

Preview Lab → · Contrast checker → · Palette generator →

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