#795238#795238

#795238 is a mid, moderate orange. Relative luminance 0.104; OKLCH L 47.5% C 0.065 H 54.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#795238
RGBrgb(121, 82, 56)
HSLhsl(24, 37%, 35%)
HSVhsv(24, 54%, 47%)
CMYKcmyk(0%, 32.2%, 53.7%, 52.5%)
CIE-LABlab(38.53, 13.11, 21.76)
CIE-LCHlch(38.53, 25.40, 58.94°)
OKLaboklab(47.49% 0.0382 0.0529)
OKLCHoklch(47.49% 0.065 54.2)
XYZxyz(11.6169, 10.3859, 5.1335)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795238 #385F79
analogous
#79383F #795238 #797338
triadic
#795238 #387952 #523879
tetradic
#795238 #3F7938 #385F79 #733879
square
#795238 #3F7938 #385F79 #733879
split-complementary
#795238 #387973 #383F79
monochromatic
#251911 #4F3625 #795238 #A36E4B #BC8E6F

Accessibility & contrast

On white

6.82
#795238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#795238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795238
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795238#FFFFFF#000000##FFFFFF
##7952381.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5636
Deuteranopia (green-blind)
#665E38
Tritanopia (blue-blind)
#834A4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #795238;
/* rgb */ color: rgb(121, 82, 56);
/* oklch */ color: oklch(47.5% 0.065 54.2);
Tailwind
colors: {
  custom: {
    50: '#a2826f',
    500: '#795238',
    950: '#000000',
  },
}
SCSS
$custom: #795238;
$custom-light: #a2826f;
$custom-dark: #000000;
JSON
{
  "hex": "#795238",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 24,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.0652,
    "h": 54.2
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#795238
secondary
#678DA5
accent
#9FCD5B
background
#FAF8F6
surface
#F4EFEC
border
#CECAC7
text
#0F0A07
muted
#7F7C7A

Preview Lab

Preview with #795238

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

Preview Lab → · Contrast checker → · Palette generator →

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