#795227#795227

#795227 is a mid, moderate orange. Relative luminance 0.102; OKLCH L 47.2% C 0.078 H 66.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#795227
RGBrgb(121, 82, 39)
HSLhsl(31, 51%, 31%)
HSVhsv(31, 68%, 47%)
CMYKcmyk(0%, 32.2%, 67.8%, 52.5%)
CIE-LABlab(38.28, 11.66, 31.21)
CIE-LCHlch(38.28, 33.32, 69.51°)
OKLaboklab(47.23% 0.0313 0.0719)
OKLCHoklch(47.23% 0.078 66.5)
XYZxyz(11.2694, 10.2470, 3.3034)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795227 #274E79
analogous
#792927 #795227 #777927
triadic
#795227 #277952 #522779
tetradic
#795227 #277929 #274E79 #792777
square
#795227 #277929 #274E79 #792777
split-complementary
#795227 #277779 #292779
monochromatic
#1C1309 #4B3318 #795227 #A77136 #C89053

Accessibility & contrast

On white

6.89
#795227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#795227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795227
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795227#FFFFFF#000000##FFFFFF
##7952271.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#844948
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #795227;
/* rgb */ color: rgb(121, 82, 39);
/* oklch */ color: oklch(47.2% 0.078 66.5);
Tailwind
colors: {
  custom: {
    50: '#a38263',
    500: '#795227',
    950: '#000000',
  },
}
SCSS
$custom: #795227;
$custom-light: #a38263;
$custom-dark: #000000;
JSON
{
  "hex": "#795227",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 31.463,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.07836,
    "h": 66.5
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#795227
secondary
#517CAB
accent
#90DB4D
background
#FAF7F5
surface
#F4EEEA
border
#CEC9C6
text
#100A05
muted
#7F7C79

Preview Lab

Preview with #795227

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

Preview Lab → · Contrast checker → · Palette generator →

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