#7F6311#7F6311

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

Color values

HEX#7F6311
RGBrgb(127, 99, 17)
HSLhsl(45, 76%, 28%)
HSVhsv(45, 87%, 50%)
CMYKcmyk(0%, 22%, 86.6%, 50.2%)
CIE-LABlab(43.47, 3.34, 46.23)
CIE-LCHlch(43.47, 46.35, 85.87°)
OKLaboklab(51.4% 0.0038 0.099)
OKLCHoklch(51.4% 0.099 87.8)
XYZxyz(13.3163, 13.4771, 2.4302)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6311 #112D7F
analogous
#7F2C11 #7F6311 #647F11
triadic
#7F6311 #117F63 #63117F
tetradic
#7F6311 #117F2C #112D7F #7F1164
square
#7F6311 #117F2C #112D7F #7F1164
split-complementary
#7F6311 #11647F #2C117F
monochromatic
#1B1504 #49390A #7F6311 #B58D18 #E2B328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6311#FFFFFF#000000##FFFFFF
##7F63111.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)
#776A16
Tritanopia (blue-blind)
#8A5954
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f6311;
/* rgb */ color: rgb(127, 99, 17);
/* oklch */ color: oklch(51.4% 0.099 87.8);
Tailwind
colors: {
  custom: {
    50: '#a88f58',
    500: '#7f6311',
    950: '#000000',
  },
}
SCSS
$custom: #7f6311;
$custom-light: #a88f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6311",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 44.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.09904,
    "h": 87.8
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#7F6311
secondary
#3757B5
accent
#65F335
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6311

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

Preview Lab → · Contrast checker → · Palette generator →

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