#7F5A12#7F5A12

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

Color values

HEX#7F5A12
RGBrgb(127, 90, 18)
HSLhsl(40, 75%, 28%)
HSVhsv(40, 86%, 50%)
CMYKcmyk(0%, 29.1%, 85.8%, 50.2%)
CIE-LABlab(41.01, 8.67, 43.78)
CIE-LCHlch(41.01, 44.63, 78.79°)
OKLaboklab(49.46% 0.0192 0.0939)
OKLCHoklch(49.46% 0.096 78.4)
XYZxyz(12.5187, 11.8691, 2.2038)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5A12 #12377F
analogous
#7F2312 #7F5A12 #6D7F12
triadic
#7F5A12 #127F5A #5A127F
tetradic
#7F5A12 #127F23 #12377F #7F126D
square
#7F5A12 #127F23 #12377F #7F126D
split-complementary
#7F5A12 #126D7F #23127F
monochromatic
#1B1304 #49340A #7F5A12 #B5801A #E1A32B

Accessibility & contrast

On white

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

On black

3.37
#7F5A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F5A12#FFFFFF#000000##FFFFFF
##7F5A121.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#716415
Tritanopia (blue-blind)
#8B504D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f5a12;
/* rgb */ color: rgb(127, 90, 18);
/* oklch */ color: oklch(49.5% 0.096 78.4);
Tailwind
colors: {
  custom: {
    50: '#a98858',
    500: '#7f5a12',
    950: '#000000',
  },
}
SCSS
$custom: #7f5a12;
$custom-light: #a98858;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5a12",
  "rgb": {
    "r": 127,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 39.633,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.09579,
    "h": 78.4
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#7F5A12
secondary
#3862B5
accent
#76F236
background
#FAF8F5
surface
#F5EFE9
border
#CFCAC5
text
#110B03
muted
#807C78

Preview Lab

Preview with #7F5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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