#795228#795228

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

Color values

HEX#795228
RGBrgb(121, 82, 40)
HSLhsl(31, 50%, 32%)
HSVhsv(31, 67%, 47%)
CMYKcmyk(0%, 32.2%, 66.9%, 52.5%)
CIE-LABlab(38.29, 11.73, 30.68)
CIE-LCHlch(38.29, 32.85, 69.07°)
OKLaboklab(47.24% 0.0317 0.0709)
OKLCHoklch(47.24% 0.078 65.9)
XYZxyz(11.2862, 10.2537, 3.3918)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795228 #284F79
analogous
#792928 #795228 #787928
triadic
#795228 #287952 #522879
tetradic
#795228 #287929 #284F79 #792878
square
#795228 #287929 #284F79 #792878
split-complementary
#795228 #287879 #292879
monochromatic
#1D140A #4B3319 #795228 #A77137 #C79055

Accessibility & contrast

On white

6.88
#795228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795228
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795228#FFFFFF#000000##FFFFFF
##7952281.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795228;
/* rgb */ color: rgb(121, 82, 40);
/* oklch */ color: oklch(47.2% 0.078 65.9);
Tailwind
colors: {
  custom: {
    50: '#a38263',
    500: '#795228',
    950: '#000000',
  },
}
SCSS
$custom: #795228;
$custom-light: #a38263;
$custom-dark: #000000;
JSON
{
  "hex": "#795228",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 31.111,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.07762,
    "h": 65.9
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#795228
secondary
#527DAB
accent
#91DA4E
background
#FAF7F6
surface
#F4EEEB
border
#CEC9C6
text
#100A05
muted
#7F7C7A

Preview Lab

Preview with #795228

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

Preview Lab → · Contrast checker → · Palette generator →

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