#7F5918#7F5918

#7F5918 is a mid, moderate orange. Relative luminance 0.117; OKLCH L 49.3% C 0.093 H 76.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7F5918
RGBrgb(127, 89, 24)
HSLhsl(38, 68%, 30%)
HSVhsv(38, 81%, 50%)
CMYKcmyk(0%, 29.9%, 81.1%, 50.2%)
CIE-LABlab(40.77, 9.49, 41.28)
CIE-LCHlch(40.77, 42.35, 77.05°)
OKLaboklab(49.29% 0.0223 0.0899)
OKLCHoklch(49.29% 0.093 76.1)
XYZxyz(12.4905, 11.7238, 2.4691)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5918 #183E7F
analogous
#7F2618 #7F5918 #727F18
triadic
#7F5918 #187F59 #59187F
tetradic
#7F5918 #187F26 #183E7F #7F1872
square
#7F5918 #187F26 #183E7F #7F1872
split-complementary
#7F5918 #18727F #26187F
monochromatic
#1A1205 #4C350E #7F5918 #B27D22 #D99E38

Accessibility & contrast

On white

6.28
#7F5918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7F5918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5918
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5918#FFFFFF#000000##FFFFFF
##7F59181.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0D
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#8B4F4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f5918;
/* rgb */ color: rgb(127, 89, 24);
/* oklch */ color: oklch(49.3% 0.093 76.1);
Tailwind
colors: {
  custom: {
    50: '#a8875a',
    500: '#7f5918',
    950: '#000000',
  },
}
SCSS
$custom: #7f5918;
$custom-light: #a8875a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5918",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 37.864,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.09264,
    "h": 76.1
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#7F5918
secondary
#3F6AB3
accent
#7DEB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5918

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

Preview Lab → · Contrast checker → · Palette generator →

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