#D7A842#D7A842

#D7A842 is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.6% C 0.129 H 83.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#D7A842
RGBrgb(215, 168, 66)
HSLhsl(41, 65%, 55%)
HSVhsv(41, 69%, 84%)
CMYKcmyk(0%, 21.9%, 69.3%, 15.7%)
CIE-LABlab(71.45, 6.93, 57.19)
CIE-LCHlch(71.45, 57.60, 83.09°)
OKLaboklab(75.65% 0.0145 0.1284)
OKLCHoklch(75.65% 0.129 83.6)
XYZxyz(43.0129, 42.8486, 11.1583)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A842 #4271D7
analogous
#D75D42 #D7A842 #BBD742
triadic
#D7A842 #42D7A8 #A842D7
tetradic
#D7A842 #42D75D #4271D7 #D742BB
square
#D7A842 #42D75D #4271D7 #D742BB
split-complementary
#D7A842 #42BBD7 #5D42D7
monochromatic
#83621C #B58826 #D7A842 #E2BF75 #ECD7A7

Accessibility & contrast

On white

2.19
#D7A842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#D7A842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A842
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A842#FFFFFF#000000##000000
##D7A8421.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#E99993
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d7a842;
/* rgb */ color: rgb(215, 168, 66);
/* oklch */ color: oklch(75.6% 0.129 83.6);
Tailwind
colors: {
  custom: {
    50: '#e7c17c',
    500: '#d7a842',
    950: '#000000',
  },
}
SCSS
$custom: #d7a842;
$custom-light: #e7c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a842",
  "rgb": {
    "r": 215,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 41.074,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.12926,
    "h": 83.6
  },
  "luminance": 0.42846
}

Semantic roles & 50–950 ramp

primary
#D7A842
secondary
#9BAFDA
accent
#75E840
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D7A842

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

Preview Lab → · Contrast checker → · Palette generator →

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