#D9A740#D9A740

#D9A740 is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.6% C 0.131 H 82.2°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D9A740
RGBrgb(217, 167, 64)
HSLhsl(40, 67%, 55%)
HSVhsv(40, 71%, 85%)
CMYKcmyk(0%, 23%, 70.5%, 14.9%)
CIE-LABlab(71.39, 8.22, 58.04)
CIE-LCHlch(71.39, 58.62, 81.94°)
OKLaboklab(75.64% 0.0179 0.1298)
OKLCHoklch(75.64% 0.131 82.2)
XYZxyz(43.3621, 42.7624, 10.8196)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9A740 #4072D9
analogous
#D95A40 #D9A740 #BFD940
triadic
#D9A740 #40D9A7 #A740D9
tetradic
#D9A740 #40D95A #4072D9 #D940BF
square
#D9A740 #40D95A #4072D9 #D940BF
split-complementary
#D9A740 #40BFD9 #5A40D9
monochromatic
#84621A #B78724 #D9A740 #E3BF73 #EDD6A6

Accessibility & contrast

On white

2.20
#D9A740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D9A740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9A740
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9A740#FFFFFF#000000##000000
##D9A7401.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA733
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#EB9892
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d9a740;
/* rgb */ color: rgb(217, 167, 64);
/* oklch */ color: oklch(75.6% 0.131 82.2);
Tailwind
colors: {
  custom: {
    50: '#e9c07a',
    500: '#d9a740',
    950: '#000000',
  },
}
SCSS
$custom: #d9a740;
$custom-light: #e9c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9a740",
  "rgb": {
    "r": 217,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 40.392,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.13105,
    "h": 82.2
  },
  "luminance": 0.42759
}

Semantic roles & 50–950 ramp

primary
#D9A740
secondary
#9AAFDA
accent
#76EA3E
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D9A740

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

Preview Lab → · Contrast checker → · Palette generator →

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