#7F6018#7F6018

#7F6018 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.8% C 0.094 H 83.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7F6018
RGBrgb(127, 96, 24)
HSLhsl(42, 68%, 30%)
HSVhsv(42, 81%, 50%)
CMYKcmyk(0%, 24.4%, 81.1%, 50.2%)
CIE-LABlab(42.68, 5.35, 43.05)
CIE-LCHlch(42.68, 43.38, 82.92°)
OKLaboklab(50.78% 0.0103 0.0937)
OKLCHoklch(50.78% 0.094 83.7)
XYZxyz(13.1010, 12.9447, 2.6725)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6018 #18377F
analogous
#7F2D18 #7F6018 #6B7F18
triadic
#7F6018 #187F60 #60187F
tetradic
#7F6018 #187F2D #18377F #7F186B
square
#7F6018 #187F2D #18377F #7F186B
split-complementary
#7F6018 #186B7F #2D187F
monochromatic
#1A1305 #4C390E #7F6018 #B28722 #D9A938

Accessibility & contrast

On white

5.85
#7F6018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F6018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6018
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6018#FFFFFF#000000##FFFFFF
##7F60181.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#8A5652
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f6018;
/* rgb */ color: rgb(127, 96, 24);
/* oklch */ color: oklch(50.8% 0.094 83.7);
Tailwind
colors: {
  custom: {
    50: '#a88c5b',
    500: '#7f6018',
    950: '#000000',
  },
}
SCSS
$custom: #7f6018;
$custom-light: #a88c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6018",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 41.942,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50784,
    "c": 0.0943,
    "h": 83.7
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#7F6018
secondary
#3F62B3
accent
#71EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6018

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

Preview Lab → · Contrast checker → · Palette generator →

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