#D7A732#D7A732

#D7A732 is a light, vivid orange. Relative luminance 0.423; OKLCH L 75.3% C 0.139 H 85.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#D7A732
RGBrgb(215, 167, 50)
HSLhsl(43, 67%, 52%)
HSVhsv(43, 77%, 84%)
CMYKcmyk(0%, 22.3%, 76.7%, 15.7%)
CIE-LABlab(71.09, 6.72, 63.19)
CIE-LCHlch(71.09, 63.55, 83.93°)
OKLaboklab(75.33% 0.0121 0.1381)
OKLCHoklch(75.33% 0.139 85)
XYZxyz(42.4215, 42.3178, 8.9508)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A732 #3262D7
analogous
#D75432 #D7A732 #B5D732
triadic
#D7A732 #32D7A7 #A732D7
tetradic
#D7A732 #32D754 #3262D7 #D732B5
square
#D7A732 #32D754 #3262D7 #D732B5
split-complementary
#D7A732 #32B5D7 #5432D7
monochromatic
#775B17 #AB8321 #D7A732 #E1BD65 #EBD398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7A732#FFFFFF#000000##000000
##D7A7321.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)
#BCA71D
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#E99790
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d7a732;
/* rgb */ color: rgb(215, 167, 50);
/* oklch */ color: oklch(75.3% 0.139 85.0);
Tailwind
colors: {
  custom: {
    50: '#e8c073',
    500: '#d7a732',
    950: '#000000',
  },
}
SCSS
$custom: #d7a732;
$custom-light: #e8c073;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a732",
  "rgb": {
    "r": 215,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 42.545,
    "s": 67.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75327,
    "c": 0.13862,
    "h": 85
  },
  "luminance": 0.42315
}

Semantic roles & 50–950 ramp

primary
#D7A732
secondary
#8EA3D7
accent
#70EA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D7A732

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

Preview Lab → · Contrast checker → · Palette generator →

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