#7F5E12#7F5E12

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

Color values

HEX#7F5E12
RGBrgb(127, 94, 18)
HSLhsl(42, 75%, 28%)
HSVhsv(42, 86%, 50%)
CMYKcmyk(0%, 26%, 85.8%, 50.2%)
CIE-LABlab(42.10, 6.31, 44.72)
CIE-LCHlch(42.10, 45.17, 81.97°)
OKLaboklab(50.32% 0.0124 0.0959)
OKLCHoklch(50.32% 0.097 82.6)
XYZxyz(12.8652, 12.5621, 2.3193)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5E12 #12337F
analogous
#7F2712 #7F5E12 #697F12
triadic
#7F5E12 #127F5E #5E127F
tetradic
#7F5E12 #127F27 #12337F #7F1269
square
#7F5E12 #127F27 #12337F #7F1269
split-complementary
#7F5E12 #12697F #27127F
monochromatic
#1B1404 #49360A #7F5E12 #B5861A #E1AA2B

Accessibility & contrast

On white

5.98
#7F5E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7F5E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5E12
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5E12#FFFFFF#000000##FFFFFF
##7F5E121.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E01
Deuteranopia (green-blind)
#736716
Tritanopia (blue-blind)
#8B5450
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f5e12;
/* rgb */ color: rgb(127, 94, 18);
/* oklch */ color: oklch(50.3% 0.097 82.6);
Tailwind
colors: {
  custom: {
    50: '#a98b58',
    500: '#7f5e12',
    950: '#000000',
  },
}
SCSS
$custom: #7f5e12;
$custom-light: #a98b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5e12",
  "rgb": {
    "r": 127,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 41.835,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.09671,
    "h": 82.6
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#7F5E12
secondary
#385EB5
accent
#6FF236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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