#D7B142#D7B142

#D7B142 is a light, vivid orange. Relative luminance 0.463; OKLCH L 77.4% C 0.133 H 89.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D7B142
RGBrgb(215, 177, 66)
HSLhsl(45, 65%, 55%)
HSVhsv(45, 69%, 84%)
CMYKcmyk(0%, 17.7%, 69.3%, 15.7%)
CIE-LABlab(73.73, 2.15, 59.54)
CIE-LCHlch(73.73, 59.58, 87.93°)
OKLaboklab(77.44% 0.0007 0.1334)
OKLCHoklch(77.44% 0.133 89.7)
XYZxyz(44.7323, 46.2874, 11.7315)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B142 #4268D7
analogous
#D76642 #D7B142 #B3D742
triadic
#D7B142 #42D7B1 #B142D7
tetradic
#D7B142 #42D766 #4268D7 #D742B3
square
#D7B142 #42D766 #4268D7 #D742B3
split-complementary
#D7B142 #42B3D7 #6642D7
monochromatic
#83691C #B59126 #D7B142 #E2C675 #ECDBA7

Accessibility & contrast

On white

2.05
#D7B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D7B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B142
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B142#FFFFFF#000000##000000
##D7B1421.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#E8A39A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d7b142;
/* rgb */ color: rgb(215, 177, 66);
/* oklch */ color: oklch(77.4% 0.133 89.7);
Tailwind
colors: {
  custom: {
    50: '#e7c87c',
    500: '#d7b142',
    950: '#000000',
  },
}
SCSS
$custom: #d7b142;
$custom-light: #e7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b142",
  "rgb": {
    "r": 215,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 44.698,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77441,
    "c": 0.13343,
    "h": 89.7
  },
  "luminance": 0.46285
}

Semantic roles & 50–950 ramp

primary
#D7B142
secondary
#9BABDA
accent
#6BE840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B142

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

Preview Lab → · Contrast checker → · Palette generator →

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