#7F5018#7F5018

#7F5018 is a mid, moderate orange. Relative luminance 0.103; OKLCH L 47.4% C 0.093 H 66.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7F5018
RGBrgb(127, 80, 24)
HSLhsl(33, 68%, 30%)
HSVhsv(33, 81%, 50%)
CMYKcmyk(0%, 37%, 81.1%, 50.2%)
CIE-LABlab(38.40, 14.84, 39.04)
CIE-LCHlch(38.40, 41.77, 69.19°)
OKLaboklab(47.45% 0.0379 0.0851)
OKLCHoklch(47.45% 0.093 66)
XYZxyz(11.7869, 10.3164, 2.2345)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5018 #18477F
analogous
#7F1C18 #7F5018 #7B7F18
triadic
#7F5018 #187F50 #50187F
tetradic
#7F5018 #187F1C #18477F #7F187B
square
#7F5018 #187F1C #18477F #7F187B
split-complementary
#7F5018 #187B7F #1C187F
monochromatic
#1A1005 #4C300E #7F5018 #B27022 #D99038

Accessibility & contrast

On white

6.86
#7F5018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7F5018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5018
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5018#FFFFFF#000000##FFFFFF
##7F50181.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540F
Deuteranopia (green-blind)
#6A5F19
Tritanopia (blue-blind)
#8B4545
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f5018;
/* rgb */ color: rgb(127, 80, 24);
/* oklch */ color: oklch(47.4% 0.093 66.0);
Tailwind
colors: {
  custom: {
    50: '#a98159',
    500: '#7f5018',
    950: '#000000',
  },
}
SCSS
$custom: #7f5018;
$custom-light: #a98159;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5018",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 32.621,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.09319,
    "h": 66
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#7F5018
secondary
#3F74B3
accent
#8CEB3D
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A04
muted
#807C79

Preview Lab

Preview with #7F5018

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

Preview Lab → · Contrast checker → · Palette generator →

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