#D7A733#D7A733

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

Color values

HEX#D7A733
RGBrgb(215, 167, 51)
HSLhsl(42, 67%, 52%)
HSVhsv(42, 76%, 84%)
CMYKcmyk(0%, 22.3%, 76.3%, 15.7%)
CIE-LABlab(71.10, 6.76, 62.83)
CIE-LCHlch(71.10, 63.19, 83.86°)
OKLaboklab(75.33% 0.0123 0.1375)
OKLCHoklch(75.33% 0.138 84.9)
XYZxyz(42.4433, 42.3265, 9.0657)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A733 #3363D7
analogous
#D75533 #D7A733 #B5D733
triadic
#D7A733 #33D7A7 #A733D7
tetradic
#D7A733 #33D755 #3363D7 #D733B5
square
#D7A733 #33D755 #3363D7 #D733B5
split-complementary
#D7A733 #33B5D7 #5533D7
monochromatic
#785C18 #AB8322 #D7A733 #E1BD66 #EBD399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7A733#FFFFFF#000000##000000
##D7A7331.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)
#BCA71F
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#E99790
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d7a733;
/* rgb */ color: rgb(215, 167, 51);
/* oklch */ color: oklch(75.3% 0.138 84.9);
Tailwind
colors: {
  custom: {
    50: '#e8c073',
    500: '#d7a733',
    950: '#000000',
  },
}
SCSS
$custom: #d7a733;
$custom-light: #e8c073;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a733",
  "rgb": {
    "r": 215,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 42.439,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75333,
    "c": 0.13808,
    "h": 84.9
  },
  "luminance": 0.42324
}

Semantic roles & 50–950 ramp

primary
#D7A733
secondary
#8FA4D7
accent
#70EA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A733

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

Preview Lab → · Contrast checker → · Palette generator →

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