#7F5818#7F5818

#7F5818 is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.1% C 0.093 H 75.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7F5818
RGBrgb(127, 88, 24)
HSLhsl(37, 68%, 30%)
HSVhsv(37, 81%, 50%)
CMYKcmyk(0%, 30.7%, 81.1%, 50.2%)
CIE-LABlab(40.51, 10.08, 41.03)
CIE-LCHlch(40.51, 42.25, 76.19°)
OKLaboklab(49.08% 0.024 0.0894)
OKLCHoklch(49.08% 0.093 75)
XYZxyz(12.4079, 11.5585, 2.4415)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5818 #183F7F
analogous
#7F2518 #7F5818 #727F18
triadic
#7F5818 #187F58 #58187F
tetradic
#7F5818 #187F25 #183F7F #7F1872
square
#7F5818 #187F25 #183F7F #7F1872
split-complementary
#7F5818 #18727F #25187F
monochromatic
#1A1205 #4C340E #7F5818 #B27C22 #D99C38

Accessibility & contrast

On white

6.34
#7F5818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7F5818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5818
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5818#FFFFFF#000000##FFFFFF
##7F58181.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0D
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#8B4E4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f5818;
/* rgb */ color: rgb(127, 88, 24);
/* oklch */ color: oklch(49.1% 0.093 75.0);
Tailwind
colors: {
  custom: {
    50: '#a9875a',
    500: '#7f5818',
    950: '#000000',
  },
}
SCSS
$custom: #7f5818;
$custom-light: #a9875a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5818",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 37.282,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.09255,
    "h": 75
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#7F5818
secondary
#3F6BB3
accent
#7FEB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5818

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

Preview Lab → · Contrast checker → · Palette generator →

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