#D7B157#D7B157

#D7B157 is a light, moderate orange. Relative luminance 0.466; OKLCH L 77.7% C 0.117 H 86.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#D7B157
RGBrgb(215, 177, 87)
HSLhsl(42, 62%, 59%)
HSVhsv(42, 60%, 84%)
CMYKcmyk(0%, 17.7%, 59.5%, 15.7%)
CIE-LABlab(73.92, 3.45, 50.36)
CIE-LCHlch(73.92, 50.48, 86.08°)
OKLaboklab(77.65% 0.0071 0.117)
OKLCHoklch(77.65% 0.117 86.5)
XYZxyz(45.4690, 46.5821, 15.6113)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B157 #577DD7
analogous
#D77157 #D7B157 #BDD757
triadic
#D7B157 #57D7B1 #B157D7
tetradic
#D7B157 #57D771 #577DD7 #D757BD
square
#D7B157 #57D771 #577DD7 #D757BD
split-complementary
#D7B157 #57BDD7 #7157D7
monochromatic
#917023 #C2972E #D7B157 #E3C888 #EFDFBA

Accessibility & contrast

On white

2.04
#D7B157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#D7B157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B157
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B157#FFFFFF#000000##000000
##D7B1571.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04E
Deuteranopia (green-blind)
#CCBA5A
Tritanopia (blue-blind)
#E7A49D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d7b157;
/* rgb */ color: rgb(215, 177, 87);
/* oklch */ color: oklch(77.7% 0.117 86.5);
Tailwind
colors: {
  custom: {
    50: '#e6c889',
    500: '#d7b157',
    950: '#000000',
  },
}
SCSS
$custom: #d7b157;
$custom-light: #e6c889;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b157",
  "rgb": {
    "r": 215,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 42.188,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77651,
    "c": 0.1172,
    "h": 86.5
  },
  "luminance": 0.46579
}

Semantic roles & 50–950 ramp

primary
#D7B157
secondary
#ACBBDE
accent
#73E543
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B157

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

Preview Lab → · Contrast checker → · Palette generator →

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