#7F5D18#7F5D18

#7F5D18 is a mid, moderate orange. Relative luminance 0.124; OKLCH L 50.1% C 0.093 H 80.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7F5D18
RGBrgb(127, 93, 24)
HSLhsl(40, 68%, 30%)
HSVhsv(40, 81%, 50%)
CMYKcmyk(0%, 26.8%, 81.1%, 50.2%)
CIE-LABlab(41.86, 7.12, 42.29)
CIE-LCHlch(41.86, 42.88, 80.44°)
OKLaboklab(50.14% 0.0154 0.0921)
OKLCHoklch(50.14% 0.093 80.5)
XYZxyz(12.8325, 12.4077, 2.5830)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5D18 #183A7F
analogous
#7F2918 #7F5D18 #6E7F18
triadic
#7F5D18 #187F5D #5D187F
tetradic
#7F5D18 #187F29 #183A7F #7F186E
square
#7F5D18 #187F29 #183A7F #7F186E
split-complementary
#7F5D18 #186E7F #29187F
monochromatic
#1A1305 #4C370E #7F5D18 #B28322 #D9A438

Accessibility & contrast

On white

6.03
#7F5D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7F5D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5D18
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5D18#FFFFFF#000000##FFFFFF
##7F5D181.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0C
Deuteranopia (green-blind)
#73661B
Tritanopia (blue-blind)
#8B5350
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f5d18;
/* rgb */ color: rgb(127, 93, 24);
/* oklch */ color: oklch(50.1% 0.093 80.5);
Tailwind
colors: {
  custom: {
    50: '#a88a5b',
    500: '#7f5d18',
    950: '#000000',
  },
}
SCSS
$custom: #7f5d18;
$custom-light: #a88a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5d18",
  "rgb": {
    "r": 127,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 40.194,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.09338,
    "h": 80.5
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#7F5D18
secondary
#3F66B3
accent
#76EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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