#796338#796338

#796338 is a mid, moderate orange. Relative luminance 0.133; OKLCH L 51.1% C 0.066 H 83.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#796338
RGBrgb(121, 99, 56)
HSLhsl(40, 37%, 35%)
HSVhsv(40, 54%, 47%)
CMYKcmyk(0%, 18.2%, 53.7%, 52.5%)
CIE-LABlab(43.17, 2.96, 27.58)
CIE-LCHlch(43.17, 27.74, 83.88°)
OKLaboklab(51.13% 0.0081 0.066)
OKLCHoklch(51.13% 0.066 83)
XYZxyz(13.0613, 13.2749, 5.6149)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796338 #384E79
analogous
#794238 #796338 #6F7938
triadic
#796338 #387963 #633879
tetradic
#796338 #387942 #384E79 #79386F
square
#796338 #387942 #384E79 #79386F
split-complementary
#796338 #386F79 #423879
monochromatic
#251F11 #4F4125 #796338 #A3854B #BCA26F

Accessibility & contrast

On white

5.75
#796338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#796338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796338
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796338#FFFFFF#000000##FFFFFF
##7963381.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6334
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#825C59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #796338;
/* rgb */ color: rgb(121, 99, 56);
/* oklch */ color: oklch(51.1% 0.066 83.0);
Tailwind
colors: {
  custom: {
    50: '#a18f6f',
    500: '#796338',
    950: '#000000',
  },
}
SCSS
$custom: #796338;
$custom-light: #a18f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#796338",
  "rgb": {
    "r": 121,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 39.692,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.06645,
    "h": 83
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#796338
secondary
#677CA5
accent
#82CD5B
background
#FAF8F6
surface
#F4F0EC
border
#CECBC7
text
#0F0C07
muted
#7F7D7A

Preview Lab

Preview with #796338

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

Preview Lab → · Contrast checker → · Palette generator →

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