#D2A040#D2A040

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

Color values

HEX#D2A040
RGBrgb(210, 160, 64)
HSLhsl(39, 62%, 54%)
HSVhsv(39, 70%, 82%)
CMYKcmyk(0%, 23.8%, 69.5%, 17.6%)
CIE-LABlab(68.91, 8.95, 55.24)
CIE-LCHlch(68.91, 55.96, 80.79°)
OKLaboklab(73.53% 0.0205 0.1241)
OKLCHoklch(73.53% 0.126 80.6)
XYZxyz(40.0770, 39.2163, 10.3082)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A040 #4072D2
analogous
#D25740 #D2A040 #BBD240
triadic
#D2A040 #40D2A0 #A040D2
tetradic
#D2A040 #40D257 #4072D2 #D240BB
square
#D2A040 #40D257 #4072D2 #D240BB
split-complementary
#D2A040 #40BBD2 #5740D2
monochromatic
#7B5B1D #AC7F29 #D2A040 #DEB972 #E9D1A3

Accessibility & contrast

On white

2.37
#D2A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2A040#FFFFFF#000000##000000
##D2A0401.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A134
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#E4918C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d2a040;
/* rgb */ color: rgb(210, 160, 64);
/* oklch */ color: oklch(73.5% 0.126 80.6);
Tailwind
colors: {
  custom: {
    50: '#e4bb7a',
    500: '#d2a040',
    950: '#000000',
  },
}
SCSS
$custom: #d2a040;
$custom-light: #e4bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a040",
  "rgb": {
    "r": 210,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 39.452,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.73527,
    "c": 0.12582,
    "h": 80.6
  },
  "luminance": 0.39213
}

Semantic roles & 50–950 ramp

primary
#D2A040
secondary
#98ADD6
accent
#7AE543
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #D2A040

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

Preview Lab → · Contrast checker → · Palette generator →

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