#7F5A18#7F5A18

#7F5A18 is a mid, moderate orange. Relative luminance 0.119; OKLCH L 49.5% C 0.093 H 77.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F5A18
RGBrgb(127, 90, 24)
HSLhsl(38, 68%, 30%)
HSVhsv(38, 81%, 50%)
CMYKcmyk(0%, 29.1%, 81.1%, 50.2%)
CIE-LABlab(41.04, 8.90, 41.53)
CIE-LCHlch(41.04, 42.47, 77.91°)
OKLaboklab(49.5% 0.0205 0.0905)
OKLCHoklch(49.5% 0.093 77.2)
XYZxyz(12.5743, 11.8913, 2.4970)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5A18 #183D7F
analogous
#7F2718 #7F5A18 #707F18
triadic
#7F5A18 #187F5A #5A187F
tetradic
#7F5A18 #187F27 #183D7F #7F1870
square
#7F5A18 #187F27 #183D7F #7F1870
split-complementary
#7F5A18 #18707F #27187F
monochromatic
#1A1205 #4C360E #7F5A18 #B27E22 #D99F38

Accessibility & contrast

On white

6.22
#7F5A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7F5A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5A18
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5A18#FFFFFF#000000##FFFFFF
##7F5A181.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0D
Deuteranopia (green-blind)
#71641B
Tritanopia (blue-blind)
#8B504D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f5a18;
/* rgb */ color: rgb(127, 90, 24);
/* oklch */ color: oklch(49.5% 0.093 77.2);
Tailwind
colors: {
  custom: {
    50: '#a8885a',
    500: '#7f5a18',
    950: '#000000',
  },
}
SCSS
$custom: #7f5a18;
$custom-light: #a8885a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5a18",
  "rgb": {
    "r": 127,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 38.447,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.09277,
    "h": 77.2
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#7F5A18
secondary
#3F69B3
accent
#7BEB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5A18

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

Preview Lab → · Contrast checker → · Palette generator →

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