#D5A040#D5A040

#D5A040 is a light, vivid orange. Relative luminance 0.397; OKLCH L 73.8% C 0.127 H 79.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D5A040
RGBrgb(213, 160, 64)
HSLhsl(39, 64%, 54%)
HSVhsv(39, 70%, 84%)
CMYKcmyk(0%, 24.9%, 70%, 16.5%)
CIE-LABlab(69.23, 10.25, 55.67)
CIE-LCHlch(69.23, 56.61, 79.57°)
OKLaboklab(73.85% 0.024 0.1249)
OKLCHoklch(73.85% 0.127 79.1)
XYZxyz(40.9394, 39.6610, 10.3486)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A040 #4075D5
analogous
#D55640 #D5A040 #BFD540
triadic
#D5A040 #40D5A0 #A040D5
tetradic
#D5A040 #40D556 #4075D5 #D540BF
square
#D5A040 #40D556 #4075D5 #D540BF
split-complementary
#D5A040 #40BFD5 #5640D5
monochromatic
#7F5C1C #B18027 #D5A040 #E0B972 #EBD2A4

Accessibility & contrast

On white

2.35
#D5A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#D5A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A040
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A040#FFFFFF#000000##000000
##D5A0401.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#E7918C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d5a040;
/* rgb */ color: rgb(213, 160, 64);
/* oklch */ color: oklch(73.8% 0.127 79.1);
Tailwind
colors: {
  custom: {
    50: '#e6bb7a',
    500: '#d5a040',
    950: '#000000',
  },
}
SCSS
$custom: #d5a040;
$custom-light: #e6bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a040",
  "rgb": {
    "r": 213,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 38.658,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.12723,
    "h": 79.1
  },
  "luminance": 0.39658
}

Semantic roles & 50–950 ramp

primary
#D5A040
secondary
#99AFD8
accent
#7CE741
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #D5A040

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

Preview Lab → · Contrast checker → · Palette generator →

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