#7D5F17#7D5F17

#7D5F17 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.3% C 0.094 H 84.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7D5F17
RGBrgb(125, 95, 23)
HSLhsl(42, 69%, 29%)
HSVhsv(42, 82%, 49%)
CMYKcmyk(0%, 24%, 81.6%, 51%)
CIE-LABlab(42.17, 4.94, 42.88)
CIE-LCHlch(42.17, 43.16, 83.43°)
OKLaboklab(50.33% 0.0091 0.0933)
OKLCHoklch(50.33% 0.094 84.4)
XYZxyz(12.7051, 12.6072, 2.5747)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5F17 #17357D
analogous
#7D2C17 #7D5F17 #687D17
triadic
#7D5F17 #177D5F #5F177D
tetradic
#7D5F17 #177D2C #17357D #7D1768
square
#7D5F17 #177D2C #17357D #7D1768
split-complementary
#7D5F17 #17687D #2C177D
monochromatic
#1A1405 #49380D #7D5F17 #B18621 #DAA935

Accessibility & contrast

On white

5.96
#7D5F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7D5F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5F17
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5F17#FFFFFF#000000##FFFFFF
##7D5F171.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#885551
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d5f17;
/* rgb */ color: rgb(125, 95, 23);
/* oklch */ color: oklch(50.3% 0.094 84.4);
Tailwind
colors: {
  custom: {
    50: '#a78c5b',
    500: '#7d5f17',
    950: '#000000',
  },
}
SCSS
$custom: #7d5f17;
$custom-light: #a78c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5f17",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 42.353,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.09369,
    "h": 84.4
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#7D5F17
secondary
#3E60B2
accent
#70EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D5F17

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

Preview Lab → · Contrast checker → · Palette generator →

#7D5F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva