#D7A64F#D7A64F

#D7A64F is a light, moderate orange. Relative luminance 0.423; OKLCH L 75.4% C 0.119 H 79.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#D7A64F
RGBrgb(215, 166, 79)
HSLhsl(38, 63%, 58%)
HSVhsv(38, 63%, 84%)
CMYKcmyk(0%, 22.8%, 63.3%, 15.7%)
CIE-LABlab(71.07, 8.76, 50.91)
CIE-LCHlch(71.07, 51.66, 80.23°)
OKLaboklab(75.38% 0.0216 0.1171)
OKLCHoklch(75.38% 0.119 79.6)
XYZxyz(43.0743, 42.2870, 13.2891)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A64F #4F80D7
analogous
#D7624F #D7A64F #C4D74F
triadic
#D7A64F #4FD7A6 #A64FD7
tetradic
#D7A64F #4FD762 #4F80D7 #D74FC4
square
#D7A64F #4FD762 #4F80D7 #D74FC4
split-complementary
#D7A64F #4FC4D7 #624FD7
monochromatic
#8C6520 #BE892B #D7A64F #E2BF81 #EED8B3

Accessibility & contrast

On white

2.22
#D7A64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#D7A64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A64F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A64F#FFFFFF#000000##000000
##D7A64F1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#C5B352
Tritanopia (blue-blind)
#E89893
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d7a64f;
/* rgb */ color: rgb(215, 166, 79);
/* oklch */ color: oklch(75.4% 0.119 79.6);
Tailwind
colors: {
  custom: {
    50: '#e7c083',
    500: '#d7a64f',
    950: '#000000',
  },
}
SCSS
$custom: #d7a64f;
$custom-light: #e7c083;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a64f",
  "rgb": {
    "r": 215,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 38.382,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.75383,
    "c": 0.1191,
    "h": 79.6
  },
  "luminance": 0.42284
}

Semantic roles & 50–950 ramp

primary
#D7A64F
secondary
#A6B9DC
accent
#7DE642
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #D7A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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