#D7A342#D7A342

#D7A342 is a light, vivid orange. Relative luminance 0.410; OKLCH L 74.7% C 0.128 H 79.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D7A342
RGBrgb(215, 163, 66)
HSLhsl(39, 65%, 55%)
HSVhsv(39, 69%, 84%)
CMYKcmyk(0%, 24.2%, 69.3%, 15.7%)
CIE-LABlab(70.20, 9.60, 55.88)
CIE-LCHlch(70.20, 56.70, 80.25°)
OKLaboklab(74.67% 0.0223 0.1257)
OKLCHoklch(74.67% 0.128 79.9)
XYZxyz(42.1075, 41.0379, 10.8565)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A342 #4276D7
analogous
#D75842 #D7A342 #C1D742
triadic
#D7A342 #42D7A3 #A342D7
tetradic
#D7A342 #42D758 #4276D7 #D742C1
square
#D7A342 #42D758 #4276D7 #D742C1
split-complementary
#D7A342 #42C1D7 #5842D7
monochromatic
#835F1C #B58326 #D7A342 #E2BC75 #ECD4A7

Accessibility & contrast

On white

2.28
#D7A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#D7A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A342
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A342#FFFFFF#000000##000000
##D7A3421.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#E9948F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d7a342;
/* rgb */ color: rgb(215, 163, 66);
/* oklch */ color: oklch(74.7% 0.128 79.9);
Tailwind
colors: {
  custom: {
    50: '#e8be7b',
    500: '#d7a342',
    950: '#000000',
  },
}
SCSS
$custom: #d7a342;
$custom-light: #e8be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a342",
  "rgb": {
    "r": 215,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 39.06,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.12764,
    "h": 79.9
  },
  "luminance": 0.41035
}

Semantic roles & 50–950 ramp

primary
#D7A342
secondary
#9BB1DA
accent
#7AE840
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D7A342

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

Preview Lab → · Contrast checker → · Palette generator →

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