#D7A240#D7A240

#D7A240 is a light, vivid orange. Relative luminance 0.407; OKLCH L 74.5% C 0.129 H 79.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D7A240
RGBrgb(215, 162, 64)
HSLhsl(39, 65%, 55%)
HSVhsv(39, 70%, 84%)
CMYKcmyk(0%, 24.7%, 70.2%, 15.7%)
CIE-LABlab(69.94, 10.03, 56.48)
CIE-LCHlch(69.94, 57.36, 79.93°)
OKLaboklab(74.45% 0.0233 0.1266)
OKLCHoklch(74.45% 0.129 79.6)
XYZxyz(41.8727, 40.6610, 10.4925)
Luminance0.4066 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A240 #4075D7
analogous
#D75640 #D7A240 #C1D740
triadic
#D7A240 #40D7A2 #A240D7
tetradic
#D7A240 #40D756 #4075D7 #D740C1
square
#D7A240 #40D756 #4075D7 #D740C1
split-complementary
#D7A240 #40C1D7 #5640D7
monochromatic
#815E1B #B48226 #D7A240 #E2BB73 #ECD3A5

Accessibility & contrast

On white

2.30
#D7A240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D7A240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A240
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A240#FFFFFF#000000##000000
##D7A2401.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A334
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#E9938E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d7a240;
/* rgb */ color: rgb(215, 162, 64);
/* oklch */ color: oklch(74.5% 0.129 79.6);
Tailwind
colors: {
  custom: {
    50: '#e8bd7a',
    500: '#d7a240',
    950: '#000000',
  },
}
SCSS
$custom: #d7a240;
$custom-light: #e8bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a240",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 38.94,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74454,
    "c": 0.12869,
    "h": 79.6
  },
  "luminance": 0.40658
}

Semantic roles & 50–950 ramp

primary
#D7A240
secondary
#9AB0D9
accent
#7BE83F
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A240

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

Preview Lab → · Contrast checker → · Palette generator →

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