#795817#795817

#795817 is a mid, moderate orange. Relative luminance 0.111; OKLCH L 48.3% C 0.090 H 79.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#795817
RGBrgb(121, 88, 23)
HSLhsl(40, 68%, 28%)
HSVhsv(40, 81%, 47%)
CMYKcmyk(0%, 27.3%, 81%, 52.5%)
CIE-LABlab(39.76, 7.17, 40.48)
CIE-LCHlch(39.76, 41.11, 79.96°)
OKLaboklab(48.33% 0.0158 0.0883)
OKLCHoklch(48.33% 0.09 79.9)
XYZxyz(11.5303, 11.1072, 2.3471)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795817 #173879
analogous
#792717 #795817 #697917
triadic
#795817 #177958 #581779
tetradic
#795817 #177927 #173879 #791769
square
#795817 #177927 #173879 #791769
split-complementary
#795817 #176979 #271779
monochromatic
#1A1305 #46330D #795817 #AC7D21 #D8A032

Accessibility & contrast

On white

6.52
#795817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#795817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795817
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795817#FFFFFF#000000##FFFFFF
##7958171.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#844E4B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795817;
/* rgb */ color: rgb(121, 88, 23);
/* oklch */ color: oklch(48.3% 0.090 79.9);
Tailwind
colors: {
  custom: {
    50: '#a4865a',
    500: '#795817',
    950: '#000000',
  },
}
SCSS
$custom: #795817;
$custom-light: #a4865a;
$custom-dark: #000000;
JSON
{
  "hex": "#795817",
  "rgb": {
    "r": 121,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 39.796,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.08972,
    "h": 79.9
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#795817
secondary
#3E64AE
accent
#77EB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795817

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

Preview Lab → · Contrast checker → · Palette generator →

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