#7F481B#7F481B

#7F481B is a mid, moderate orange. Relative luminance 0.092; OKLCH L 45.9% C 0.095 H 56.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7F481B
RGBrgb(127, 72, 27)
HSLhsl(27, 65%, 30%)
HSVhsv(27, 79%, 50%)
CMYKcmyk(0%, 43.3%, 78.7%, 50.2%)
CIE-LABlab(36.42, 19.69, 35.70)
CIE-LCHlch(36.42, 40.77, 61.12°)
OKLaboklab(45.92% 0.0527 0.0787)
OKLCHoklch(45.92% 0.095 56.2)
XYZxyz(11.2686, 9.2271, 2.2243)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F481B #1B527F
analogous
#7F1B20 #7F481B #7F7A1B
triadic
#7F481B #1B7F48 #481B7F
tetradic
#7F481B #207F1B #1B527F #7A1B7F
square
#7F481B #207F1B #1B527F #7A1B7F
split-complementary
#7F481B #1B7F7A #1B207F
monochromatic
#1A0F06 #4D2B10 #7F481B #B16526 #D6833E

Accessibility & contrast

On white

7.38
#7F481B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7F481B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F481B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F481B#FFFFFF#000000##FFFFFF
##7F481B1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E15
Deuteranopia (green-blind)
#655B1B
Tritanopia (blue-blind)
#8B3C3F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f481b;
/* rgb */ color: rgb(127, 72, 27);
/* oklch */ color: oklch(45.9% 0.095 56.2);
Tailwind
colors: {
  custom: {
    50: '#a97b5a',
    500: '#7f481b',
    950: '#000000',
  },
}
SCSS
$custom: #7f481b;
$custom-light: #a97b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f481b",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 27,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.09476,
    "h": 56.2
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#7F481B
secondary
#4380B3
accent
#9CE840
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110904
muted
#807B79

Preview Lab

Preview with #7F481B

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

Preview Lab → · Contrast checker → · Palette generator →

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