#D7A640#D7A640

#D7A640 is a light, vivid orange. Relative luminance 0.421; OKLCH L 75.2% C 0.130 H 82.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D7A640
RGBrgb(215, 166, 64)
HSLhsl(41, 65%, 55%)
HSVhsv(41, 70%, 84%)
CMYKcmyk(0%, 22.8%, 70.2%, 15.7%)
CIE-LABlab(70.93, 7.89, 57.50)
CIE-LCHlch(70.93, 58.04, 82.19°)
OKLaboklab(75.24% 0.0171 0.1288)
OKLCHoklch(75.24% 0.13 82.4)
XYZxyz(42.5886, 42.0927, 10.7311)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A640 #4071D7
analogous
#D75B40 #D7A640 #BCD740
triadic
#D7A640 #40D7A6 #A640D7
tetradic
#D7A640 #40D75B #4071D7 #D740BC
square
#D7A640 #40D75B #4071D7 #D740BC
split-complementary
#D7A640 #40BCD7 #5B40D7
monochromatic
#81601B #B48626 #D7A640 #E2BE73 #ECD5A5

Accessibility & contrast

On white

2.23
#D7A640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#D7A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A640
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A640#FFFFFF#000000##000000
##D7A6401.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#E99791
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d7a640;
/* rgb */ color: rgb(215, 166, 64);
/* oklch */ color: oklch(75.2% 0.130 82.4);
Tailwind
colors: {
  custom: {
    50: '#e8c07a',
    500: '#d7a640',
    950: '#000000',
  },
}
SCSS
$custom: #d7a640;
$custom-light: #e8c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a640",
  "rgb": {
    "r": 215,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 40.53,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75236,
    "c": 0.12989,
    "h": 82.4
  },
  "luminance": 0.4209
}

Semantic roles & 50–950 ramp

primary
#D7A640
secondary
#9AAED9
accent
#76E83F
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D7A640

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

Preview Lab → · Contrast checker → · Palette generator →

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