#795918#795918

#795918 is a mid, moderate orange. Relative luminance 0.113; OKLCH L 48.6% C 0.089 H 80.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#795918
RGBrgb(121, 89, 24)
HSLhsl(40, 67%, 28%)
HSVhsv(40, 80%, 47%)
CMYKcmyk(0%, 26.4%, 80.2%, 52.5%)
CIE-LABlab(40.04, 6.62, 40.33)
CIE-LCHlch(40.04, 40.87, 80.68°)
OKLaboklab(48.56% 0.0143 0.0882)
OKLCHoklch(48.56% 0.089 80.8)
XYZxyz(11.6232, 11.2765, 2.4284)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795918 #183879
analogous
#792818 #795918 #687918
triadic
#795918 #187959 #591879
tetradic
#795918 #187928 #183879 #791868
square
#795918 #187928 #183879 #791868
split-complementary
#795918 #186879 #281879
monochromatic
#1A1305 #46330E #795918 #AC7F22 #D7A135

Accessibility & contrast

On white

6.45
#795918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#795918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795918
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795918#FFFFFF#000000##FFFFFF
##7959181.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0D
Deuteranopia (green-blind)
#6D621B
Tritanopia (blue-blind)
#84504C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795918;
/* rgb */ color: rgb(121, 89, 24);
/* oklch */ color: oklch(48.6% 0.089 80.8);
Tailwind
colors: {
  custom: {
    50: '#a4875a',
    500: '#795918',
    950: '#000000',
  },
}
SCSS
$custom: #795918;
$custom-light: #a4875a;
$custom-dark: #000000;
JSON
{
  "hex": "#795918",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 40.206,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.08939,
    "h": 80.8
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#795918
secondary
#3F64AE
accent
#77EA3E
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795918

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

Preview Lab → · Contrast checker → · Palette generator →

#795918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva