#D7A042#D7A042

#D7A042 is a light, vivid orange. Relative luminance 0.400; OKLCH L 74.1% C 0.127 H 77.7°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D7A042
RGBrgb(215, 160, 66)
HSLhsl(38, 65%, 55%)
HSVhsv(38, 69%, 84%)
CMYKcmyk(0%, 25.6%, 69.3%, 15.7%)
CIE-LABlab(69.46, 11.21, 55.10)
CIE-LCHlch(69.46, 56.23, 78.50°)
OKLaboklab(74.08% 0.027 0.124)
OKLCHoklch(74.08% 0.127 77.7)
XYZxyz(41.5812, 39.9852, 10.6811)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A042 #4279D7
analogous
#D75542 #D7A042 #C4D742
triadic
#D7A042 #42D7A0 #A042D7
tetradic
#D7A042 #42D755 #4279D7 #D742C4
square
#D7A042 #42D755 #4279D7 #D742C4
split-complementary
#D7A042 #42C4D7 #5542D7
monochromatic
#835D1C #B58126 #D7A042 #E2B975 #ECD3A7

Accessibility & contrast

On white

2.33
#D7A042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#D7A042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A042
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A042#FFFFFF#000000##000000
##D7A0421.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A237
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#E9918C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d7a042;
/* rgb */ color: rgb(215, 160, 66);
/* oklch */ color: oklch(74.1% 0.127 77.7);
Tailwind
colors: {
  custom: {
    50: '#e8bb7b',
    500: '#d7a042',
    950: '#000000',
  },
}
SCSS
$custom: #d7a042;
$custom-light: #e8bb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a042",
  "rgb": {
    "r": 215,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 37.852,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74084,
    "c": 0.12692,
    "h": 77.7
  },
  "luminance": 0.39982
}

Semantic roles & 50–950 ramp

primary
#D7A042
secondary
#9BB2DA
accent
#7EE840
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#17110A
muted
#85807C

Preview Lab

Preview with #D7A042

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

Preview Lab → · Contrast checker → · Palette generator →

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