#D9A040#D9A040

#D9A040 is a light, vivid orange. Relative luminance 0.403; OKLCH L 74.3% C 0.129 H 77.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D9A040
RGBrgb(217, 160, 64)
HSLhsl(38, 67%, 55%)
HSVhsv(38, 71%, 85%)
CMYKcmyk(0%, 26.3%, 70.5%, 14.9%)
CIE-LABlab(69.66, 11.96, 56.25)
CIE-LCHlch(69.66, 57.51, 77.99°)
OKLaboklab(74.28% 0.0288 0.126)
OKLCHoklch(74.28% 0.129 77.1)
XYZxyz(42.1142, 40.2667, 10.4037)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9A040 #4079D9
analogous
#D95340 #D9A040 #C5D940
triadic
#D9A040 #40D9A0 #A040D9
tetradic
#D9A040 #40D953 #4079D9 #D940C5
square
#D9A040 #40D953 #4079D9 #D940C5
split-complementary
#D9A040 #40C5D9 #5340D9
monochromatic
#845D1A #B78124 #D9A040 #E3B973 #EDD3A6

Accessibility & contrast

On white

2.32
#D9A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#D9A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9A040
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9A040#FFFFFF#000000##000000
##D9A0401.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A234
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#EC908C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d9a040;
/* rgb */ color: rgb(217, 160, 64);
/* oklch */ color: oklch(74.3% 0.129 77.1);
Tailwind
colors: {
  custom: {
    50: '#e9bb7a',
    500: '#d9a040',
    950: '#000000',
  },
}
SCSS
$custom: #d9a040;
$custom-light: #e9bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9a040",
  "rgb": {
    "r": 217,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 37.647,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74284,
    "c": 0.12928,
    "h": 77.1
  },
  "luminance": 0.40263
}

Semantic roles & 50–950 ramp

primary
#D9A040
secondary
#9AB2DA
accent
#7EEA3E
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #D9A040

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

Preview Lab → · Contrast checker → · Palette generator →

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