#7F5A28#7F5A28

#7F5A28 is a mid, moderate orange. Relative luminance 0.120; OKLCH L 49.7% C 0.082 H 72.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7F5A28
RGBrgb(127, 90, 40)
HSLhsl(34, 52%, 33%)
HSVhsv(34, 69%, 50%)
CMYKcmyk(0%, 29.1%, 68.5%, 50.2%)
CIE-LABlab(41.18, 9.76, 34.13)
CIE-LCHlch(41.18, 35.50, 74.04°)
OKLaboklab(49.65% 0.0253 0.0781)
OKLCHoklch(49.65% 0.082 72)
XYZxyz(12.7924, 11.9786, 3.6454)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5A28 #284D7F
analogous
#7F2F28 #7F5A28 #787F28
triadic
#7F5A28 #287F5A #5A287F
tetradic
#7F5A28 #287F2F #284D7F #7F2878
square
#7F5A28 #287F2F #284D7F #7F2878
split-complementary
#7F5A28 #28787F #2F287F
monochromatic
#22180B #503919 #7F5A28 #AE7B37 #CA9957

Accessibility & contrast

On white

6.18
#7F5A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7F5A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5A28
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5A28#FFFFFF#000000##FFFFFF
##7F5A281.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#8A514F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f5a28;
/* rgb */ color: rgb(127, 90, 40);
/* oklch */ color: oklch(49.7% 0.082 72.0);
Tailwind
colors: {
  custom: {
    50: '#a78864',
    500: '#7f5a28',
    950: '#000000',
  },
}
SCSS
$custom: #7f5a28;
$custom-light: #a78864;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5a28",
  "rgb": {
    "r": 127,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 34.483,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.08207,
    "h": 72
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#7F5A28
secondary
#547BAF
accent
#89DC4C
background
#FAF8F6
surface
#F4EFEB
border
#CECAC6
text
#100B05
muted
#7F7C7A

Preview Lab

Preview with #7F5A28

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

Preview Lab → · Contrast checker → · Palette generator →

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