#D7A340#D7A340

#D7A340 is a light, vivid orange. Relative luminance 0.410; OKLCH L 74.6% C 0.129 H 80.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D7A340
RGBrgb(215, 163, 64)
HSLhsl(39, 65%, 55%)
HSVhsv(39, 70%, 84%)
CMYKcmyk(0%, 24.2%, 70.2%, 15.7%)
CIE-LABlab(70.19, 9.50, 56.73)
CIE-LCHlch(70.19, 57.52, 80.50°)
OKLaboklab(74.65% 0.0217 0.1271)
OKLCHoklch(74.65% 0.129 80.3)
XYZxyz(42.0496, 41.0147, 10.5514)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A340 #4074D7
analogous
#D75840 #D7A340 #BFD740
triadic
#D7A340 #40D7A3 #A340D7
tetradic
#D7A340 #40D758 #4074D7 #D740BF
square
#D7A340 #40D758 #4074D7 #D740BF
split-complementary
#D7A340 #40BFD7 #5840D7
monochromatic
#815E1B #B48326 #D7A340 #E2BB73 #ECD4A5

Accessibility & contrast

On white

2.28
#D7A340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D7A340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A340
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A340#FFFFFF#000000##000000
##D7A3401.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#E9948E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d7a340;
/* rgb */ color: rgb(215, 163, 64);
/* oklch */ color: oklch(74.6% 0.129 80.3);
Tailwind
colors: {
  custom: {
    50: '#e8be7a',
    500: '#d7a340',
    950: '#000000',
  },
}
SCSS
$custom: #d7a340;
$custom-light: #e8be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a340",
  "rgb": {
    "r": 215,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 39.338,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74649,
    "c": 0.12896,
    "h": 80.3
  },
  "luminance": 0.41012
}

Semantic roles & 50–950 ramp

primary
#D7A340
secondary
#9AAFD9
accent
#7AE83F
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A340

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

Preview Lab → · Contrast checker → · Palette generator →

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