#D7AF38#D7AF38

#D7AF38 is a light, vivid orange. Relative luminance 0.454; OKLCH L 77.0% C 0.139 H 89.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#D7AF38
RGBrgb(215, 175, 56)
HSLhsl(45, 67%, 53%)
HSVhsv(45, 74%, 84%)
CMYKcmyk(0%, 18.6%, 74%, 15.7%)
CIE-LABlab(73.15, 2.72, 62.93)
CIE-LCHlch(73.15, 62.99, 87.52°)
OKLaboklab(76.96% 0.0012 0.1388)
OKLCHoklch(76.96% 0.139 89.5)
XYZxyz(44.0707, 45.3953, 10.1816)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AF38 #3860D7
analogous
#D76038 #D7AF38 #AFD738
triadic
#D7AF38 #38D7AF #AF38D7
tetradic
#D7AF38 #38D760 #3860D7 #D738AF
square
#D7AF38 #38D760 #3860D7 #D738AF
split-complementary
#D7AF38 #38AFD7 #6038D7
monochromatic
#7C6319 #AF8C23 #D7AF38 #E1C36B #EBD89E

Accessibility & contrast

On white

2.08
#D7AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#D7AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AF38
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AF38#FFFFFF#000000##000000
##D7AF381.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD25
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#E9A097
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d7af38;
/* rgb */ color: rgb(215, 175, 56);
/* oklch */ color: oklch(77.0% 0.139 89.5);
Tailwind
colors: {
  custom: {
    50: '#e8c677',
    500: '#d7af38',
    950: '#000000',
  },
}
SCSS
$custom: #d7af38;
$custom-light: #e8c677;
$custom-dark: #000000;
JSON
{
  "hex": "#d7af38",
  "rgb": {
    "r": 215,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 44.906,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76961,
    "c": 0.13877,
    "h": 89.5
  },
  "luminance": 0.45393
}

Semantic roles & 50–950 ramp

primary
#D7AF38
secondary
#93A4D8
accent
#69E93E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D7AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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