#7F6022#7F6022

#7F6022 is a mid, moderate orange. Relative luminance 0.130; OKLCH L 50.9% C 0.088 H 81.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7F6022
RGBrgb(127, 96, 34)
HSLhsl(40, 58%, 32%)
HSVhsv(40, 73%, 50%)
CMYKcmyk(0%, 24.4%, 73.2%, 50.2%)
CIE-LABlab(42.75, 5.84, 38.79)
CIE-LCHlch(42.75, 39.23, 81.44°)
OKLaboklab(50.87% 0.013 0.0869)
OKLCHoklch(50.87% 0.088 81.5)
XYZxyz(13.2248, 12.9942, 3.3247)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6022 #22417F
analogous
#7F3222 #7F6022 #707F22
triadic
#7F6022 #227F60 #60227F
tetradic
#7F6022 #227F32 #22417F #7F2270
square
#7F6022 #227F32 #22417F #7F2270
split-complementary
#7F6022 #22707F #32227F
monochromatic
#1E1708 #4F3C15 #7F6022 #AF842F #CFA44C

Accessibility & contrast

On white

5.84
#7F6022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7F6022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6022
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6022#FFFFFF#000000##FFFFFF
##7F60221.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D601A
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#8A5753
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f6022;
/* rgb */ color: rgb(127, 96, 34);
/* oklch */ color: oklch(50.9% 0.088 81.5);
Tailwind
colors: {
  custom: {
    50: '#a88c61',
    500: '#7f6022',
    950: '#000000',
  },
}
SCSS
$custom: #7f6022;
$custom-light: #a88c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6022",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 40,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.08785,
    "h": 81.5
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#7F6022
secondary
#4B6DB2
accent
#7AE147
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7F6022

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

Preview Lab → · Contrast checker → · Palette generator →

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