#7D5F18#7D5F18

#7D5F18 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.3% C 0.093 H 84.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7D5F18
RGBrgb(125, 95, 24)
HSLhsl(42, 68%, 29%)
HSVhsv(42, 81%, 49%)
CMYKcmyk(0%, 24%, 80.8%, 51%)
CIE-LABlab(42.17, 4.98, 42.49)
CIE-LCHlch(42.17, 42.78, 83.31°)
OKLaboklab(50.33% 0.0094 0.0927)
OKLCHoklch(50.33% 0.093 84.2)
XYZxyz(12.7154, 12.6113, 2.6285)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5F18 #18367D
analogous
#7D2D18 #7D5F18 #697D18
triadic
#7D5F18 #187D5F #5F187D
tetradic
#7D5F18 #187D2D #18367D #7D1869
square
#7D5F18 #187D2D #18367D #7D1869
split-complementary
#7D5F18 #18697D #2D187D
monochromatic
#1A1405 #4A380E #7D5F18 #B08622 #D9A937

Accessibility & contrast

On white

5.96
#7D5F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7D5F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5F18
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5F18#FFFFFF#000000##FFFFFF
##7D5F181.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#885551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d5f18;
/* rgb */ color: rgb(125, 95, 24);
/* oklch */ color: oklch(50.3% 0.093 84.2);
Tailwind
colors: {
  custom: {
    50: '#a78c5b',
    500: '#7d5f18',
    950: '#000000',
  },
}
SCSS
$custom: #7d5f18;
$custom-light: #a78c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5f18",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 42.178,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.09313,
    "h": 84.2
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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