#7F531F#7F531F

#7F531F is a mid, moderate orange. Relative luminance 0.108; OKLCH L 48.1% C 0.089 H 67.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7F531F
RGBrgb(127, 83, 31)
HSLhsl(33, 61%, 31%)
HSVhsv(33, 76%, 50%)
CMYKcmyk(0%, 34.6%, 75.6%, 50.2%)
CIE-LABlab(39.24, 13.39, 36.61)
CIE-LCHlch(39.24, 38.98, 69.91°)
OKLaboklab(48.11% 0.0347 0.0816)
OKLCHoklch(48.11% 0.089 67)
XYZxyz(12.0939, 10.7986, 2.7435)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F531F #1F4B7F
analogous
#7F231F #7F531F #7B7F1F
triadic
#7F531F #1F7F53 #531F7F
tetradic
#7F531F #1F7F23 #1F4B7F #7F1F7B
square
#7F531F #1F7F23 #1F4B7F #7F1F7B
split-complementary
#7F531F #1F7B7F #231F7F
monochromatic
#1D1307 #4E3313 #7F531F #B0732B #D29246

Accessibility & contrast

On white

6.65
#7F531F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F531F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F531F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F531F#FFFFFF#000000##FFFFFF
##7F531F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#8B4948
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f531f;
/* rgb */ color: rgb(127, 83, 31);
/* oklch */ color: oklch(48.1% 0.089 67.0);
Tailwind
colors: {
  custom: {
    50: '#a8835e',
    500: '#7f531f',
    950: '#000000',
  },
}
SCSS
$custom: #7f531f;
$custom-light: #a8835e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f531f",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 32.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.08866,
    "h": 67
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#7F531F
secondary
#4878B2
accent
#8DE444
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100A04
muted
#7F7C79

Preview Lab

Preview with #7F531F

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

Preview Lab → · Contrast checker → · Palette generator →

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