#796028#796028

#796028 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.2% C 0.080 H 84.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#796028
RGBrgb(121, 96, 40)
HSLhsl(41, 50%, 32%)
HSVhsv(41, 67%, 47%)
CMYKcmyk(0%, 20.7%, 66.9%, 52.5%)
CIE-LABlab(42.13, 3.38, 34.98)
CIE-LCHlch(42.13, 35.14, 84.48°)
OKLaboklab(50.24% 0.0071 0.0801)
OKLCHoklch(50.24% 0.08 84.9)
XYZxyz(12.4517, 12.5847, 3.7803)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796028 #284179
analogous
#793728 #796028 #6A7928
triadic
#796028 #287960 #602879
tetradic
#796028 #287937 #284179 #79286A
square
#796028 #287937 #284179 #79286A
split-complementary
#796028 #286A79 #372879
monochromatic
#1D170A #4B3C19 #796028 #A78437 #C7A455

Accessibility & contrast

On white

5.97
#796028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#796028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796028
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796028#FFFFFF#000000##FFFFFF
##7960281.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6022
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#835854
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #796028;
/* rgb */ color: rgb(121, 96, 40);
/* oklch */ color: oklch(50.2% 0.080 84.9);
Tailwind
colors: {
  custom: {
    50: '#a38c64',
    500: '#796028',
    950: '#000000',
  },
}
SCSS
$custom: #796028;
$custom-light: #a38c64;
$custom-dark: #000000;
JSON
{
  "hex": "#796028",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 41.481,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.0804,
    "h": 84.9
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#796028
secondary
#526DAB
accent
#79DA4E
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #796028

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

Preview Lab → · Contrast checker → · Palette generator →

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