#D7A638#D7A638

#D7A638 is a light, vivid orange. Relative luminance 0.420; OKLCH L 75.2% C 0.135 H 83.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#D7A638
RGBrgb(215, 166, 56)
HSLhsl(42, 67%, 53%)
HSVhsv(42, 74%, 84%)
CMYKcmyk(0%, 22.8%, 74%, 15.7%)
CIE-LABlab(70.88, 7.51, 60.72)
CIE-LCHlch(70.88, 61.18, 82.95°)
OKLaboklab(75.17% 0.015 0.1341)
OKLCHoklch(75.17% 0.135 83.6)
XYZxyz(42.3770, 42.0081, 9.6170)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A638 #3869D7
analogous
#D75638 #D7A638 #B9D738
triadic
#D7A638 #38D7A6 #A638D7
tetradic
#D7A638 #38D756 #3869D7 #D738B9
square
#D7A638 #38D756 #3869D7 #D738B9
split-complementary
#D7A638 #38B9D7 #5638D7
monochromatic
#7C5D19 #AF8423 #D7A638 #E1BD6B #EBD49E

Accessibility & contrast

On white

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

On black

9.40
#D7A638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A638
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A638#FFFFFF#000000##000000
##D7A6381.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#E99790
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d7a638;
/* rgb */ color: rgb(215, 166, 56);
/* oklch */ color: oklch(75.2% 0.135 83.6);
Tailwind
colors: {
  custom: {
    50: '#e8c076',
    500: '#d7a638',
    950: '#000000',
  },
}
SCSS
$custom: #d7a638;
$custom-light: #e8c076;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a638",
  "rgb": {
    "r": 215,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 41.509,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.13489,
    "h": 83.6
  },
  "luminance": 0.42005
}

Semantic roles & 50–950 ramp

primary
#D7A638
secondary
#93A8D8
accent
#73E93E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A638

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

Preview Lab → · Contrast checker → · Palette generator →

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