#7F5F18#7F5F18

#7F5F18 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 50.6% C 0.094 H 82.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F5F18
RGBrgb(127, 95, 24)
HSLhsl(41, 68%, 30%)
HSVhsv(41, 81%, 50%)
CMYKcmyk(0%, 25.2%, 81.1%, 50.2%)
CIE-LABlab(42.40, 5.94, 42.79)
CIE-LCHlch(42.40, 43.20, 82.10°)
OKLaboklab(50.57% 0.012 0.0932)
OKLCHoklch(50.57% 0.094 82.7)
XYZxyz(13.0103, 12.7634, 2.6423)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5F18 #18387F
analogous
#7F2B18 #7F5F18 #6C7F18
triadic
#7F5F18 #187F5F #5F187F
tetradic
#7F5F18 #187F2B #18387F #7F186C
square
#7F5F18 #187F2B #18387F #7F186C
split-complementary
#7F5F18 #186C7F #2B187F
monochromatic
#1A1305 #4C380E #7F5F18 #B28622 #D9A738

Accessibility & contrast

On white

5.91
#7F5F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F5F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5F18
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5F18#FFFFFF#000000##FFFFFF
##7F5F181.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#8A5551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f5f18;
/* rgb */ color: rgb(127, 95, 24);
/* oklch */ color: oklch(50.6% 0.094 82.7);
Tailwind
colors: {
  custom: {
    50: '#a88c5b',
    500: '#7f5f18',
    950: '#000000',
  },
}
SCSS
$custom: #7f5f18;
$custom-light: #a88c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5f18",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 41.359,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.09396,
    "h": 82.7
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#7F5F18
secondary
#3F63B3
accent
#73EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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