#D7B162#D7B162

#D7B162 is a light, moderate orange. Relative luminance 0.468; OKLCH L 77.8% C 0.107 H 84.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#D7B162
RGBrgb(215, 177, 98)
HSLhsl(41, 59%, 61%)
HSVhsv(41, 54%, 84%)
CMYKcmyk(0%, 17.7%, 54.4%, 15.7%)
CIE-LABlab(74.05, 4.30, 45.16)
CIE-LCHlch(74.05, 45.36, 84.56°)
OKLaboklab(77.79% 0.0109 0.1069)
OKLCHoklch(77.79% 0.107 84.2)
XYZxyz(45.9531, 46.7757, 18.1611)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B162 #6288D7
analogous
#D77762 #D7B162 #C3D762
triadic
#D7B162 #62D7B1 #B162D7
tetradic
#D7B162 #62D777 #6288D7 #D762C3
square
#D7B162 #62D777 #6288D7 #D762C3
split-complementary
#D7B162 #62C3D7 #7762D7
monochromatic
#987327 #C99833 #D7B162 #E3C993 #F0E1C4

Accessibility & contrast

On white

2.03
#D7B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#D7B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B162
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B162#FFFFFF#000000##000000
##D7B1621.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#CBBA65
Tritanopia (blue-blind)
#E7A59E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d7b162;
/* rgb */ color: rgb(215, 177, 98);
/* oklch */ color: oklch(77.8% 0.107 84.2);
Tailwind
colors: {
  custom: {
    50: '#e6c890',
    500: '#d7b162',
    950: '#000000',
  },
}
SCSS
$custom: #d7b162;
$custom-light: #e6c890;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b162",
  "rgb": {
    "r": 215,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 40.513,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77789,
    "c": 0.10742,
    "h": 84.2
  },
  "luminance": 0.46773
}

Semantic roles & 50–950 ramp

primary
#D7B162
secondary
#B5C3E0
accent
#55C71E
background
#FEFCF9
surface
#FDF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #D7B162

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

Preview Lab → · Contrast checker → · Palette generator →

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