#7F6312#7F6312

#7F6312 is a mid, moderate orange. Relative luminance 0.135; OKLCH L 51.4% C 0.099 H 87.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7F6312
RGBrgb(127, 99, 18)
HSLhsl(45, 75%, 28%)
HSVhsv(45, 86%, 50%)
CMYKcmyk(0%, 22%, 85.8%, 50.2%)
CIE-LABlab(43.48, 3.37, 45.91)
CIE-LCHlch(43.48, 46.04, 85.80°)
OKLaboklab(51.4% 0.004 0.0985)
OKLCHoklch(51.4% 0.099 87.7)
XYZxyz(13.3243, 13.4803, 2.4723)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6312 #122E7F
analogous
#7F2C12 #7F6312 #647F12
triadic
#7F6312 #127F63 #63127F
tetradic
#7F6312 #127F2C #122E7F #7F1264
square
#7F6312 #127F2C #122E7F #7F1264
split-complementary
#7F6312 #12647F #2C127F
monochromatic
#1B1504 #49390A #7F6312 #B58D1A #E1B22B

Accessibility & contrast

On white

5.68
#7F6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7F6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6312
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6312#FFFFFF#000000##FFFFFF
##7F63121.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#776A17
Tritanopia (blue-blind)
#8A5954
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f6312;
/* rgb */ color: rgb(127, 99, 18);
/* oklch */ color: oklch(51.4% 0.099 87.7);
Tailwind
colors: {
  custom: {
    50: '#a88f59',
    500: '#7f6312',
    950: '#000000',
  },
}
SCSS
$custom: #7f6312;
$custom-light: #a88f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6312",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 44.587,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.09859,
    "h": 87.7
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#7F6312
secondary
#3858B5
accent
#66F236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6312

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

Preview Lab → · Contrast checker → · Palette generator →

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