#7B5917#7B5917

#7B5917 is a mid, moderate orange. Relative luminance 0.114; OKLCH L 48.8% C 0.091 H 79.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7B5917
RGBrgb(123, 89, 23)
HSLhsl(40, 68%, 29%)
HSVhsv(40, 81%, 48%)
CMYKcmyk(0%, 27.6%, 81.3%, 51.8%)
CIE-LABlab(40.28, 7.54, 41.05)
CIE-LCHlch(40.28, 41.73, 79.60°)
OKLaboklab(48.79% 0.0167 0.0894)
OKLCHoklch(48.79% 0.091 79.4)
XYZxyz(11.8962, 11.4185, 2.3879)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5917 #17397B
analogous
#7B2717 #7B5917 #6B7B17
triadic
#7B5917 #177B59 #59177B
tetradic
#7B5917 #177B27 #17397B #7B176B
square
#7B5917 #177B27 #17397B #7B176B
split-complementary
#7B5917 #176B7B #27177B
monochromatic
#1A1305 #47340D #7B5917 #AF7E21 #D9A133

Accessibility & contrast

On white

6.40
#7B5917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B5917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5917
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5917#FFFFFF#000000##FFFFFF
##7B59171.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#864F4C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b5917;
/* rgb */ color: rgb(123, 89, 23);
/* oklch */ color: oklch(48.8% 0.091 79.4);
Tailwind
colors: {
  custom: {
    50: '#a5875a',
    500: '#7b5917',
    950: '#000000',
  },
}
SCSS
$custom: #7b5917;
$custom-light: #a5875a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5917",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 39.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.09098,
    "h": 79.4
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#7B5917
secondary
#3E65B0
accent
#78EB3C
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7B5917

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

Preview Lab → · Contrast checker → · Palette generator →

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