#7F5B18#7F5B18

#7F5B18 is a mid, moderate orange. Relative luminance 0.121; OKLCH L 49.7% C 0.093 H 78.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7F5B18
RGBrgb(127, 91, 24)
HSLhsl(39, 68%, 30%)
HSVhsv(39, 81%, 50%)
CMYKcmyk(0%, 28.3%, 81.1%, 50.2%)
CIE-LABlab(41.31, 8.30, 41.78)
CIE-LCHlch(41.31, 42.60, 78.76°)
OKLaboklab(49.71% 0.0188 0.091)
OKLCHoklch(49.71% 0.093 78.3)
XYZxyz(12.6592, 12.0612, 2.5253)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5B18 #183C7F
analogous
#7F2718 #7F5B18 #707F18
triadic
#7F5B18 #187F5B #5B187F
tetradic
#7F5B18 #187F27 #183C7F #7F1870
square
#7F5B18 #187F27 #183C7F #7F1870
split-complementary
#7F5B18 #18707F #27187F
monochromatic
#1A1205 #4C360E #7F5B18 #B28022 #D9A138

Accessibility & contrast

On white

6.15
#7F5B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7F5B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5B18
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5B18#FFFFFF#000000##FFFFFF
##7F5B181.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0C
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#8B514E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f5b18;
/* rgb */ color: rgb(127, 91, 24);
/* oklch */ color: oklch(49.7% 0.093 78.3);
Tailwind
colors: {
  custom: {
    50: '#a8895b',
    500: '#7f5b18',
    950: '#000000',
  },
}
SCSS
$custom: #7f5b18;
$custom-light: #a8895b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5b18",
  "rgb": {
    "r": 127,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 39.029,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.09294,
    "h": 78.3
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#7F5B18
secondary
#3F68B3
accent
#7AEB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5B18

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

Preview Lab → · Contrast checker → · Palette generator →

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