#798B32#798B32

#798B32 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.116 H 119.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#798B32
RGBrgb(121, 139, 50)
HSLhsl(72, 47%, 37%)
HSVhsv(72, 64%, 55%)
CMYKcmyk(12.9%, 0%, 64%, 45.5%)
CIE-LABlab(54.82, -19.79, 44.03)
CIE-LCHlch(54.82, 48.28, 114.20°)
OKLaboklab(60.38% -0.0575 0.1008)
OKLCHoklch(60.38% 0.116 119.7)
XYZxyz(17.6938, 22.7606, 6.4781)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B32 #44328B
analogous
#8B7132 #798B32 #4D8B32
triadic
#798B32 #32798B #8B3279
tetradic
#798B32 #328B71 #44328B #8B324D
square
#798B32 #328B71 #44328B #8B324D
split-complementary
#798B32 #324D8B #71328B
monochromatic
#2B3112 #525E22 #798B32 #A0B842 #B8CA6D

Accessibility & contrast

On white

3.78
#798B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#798B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B32
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B32#FFFFFF#000000##000000
##798B321.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948327
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#808478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798b32;
/* rgb */ color: rgb(121, 139, 50);
/* oklch */ color: oklch(60.4% 0.116 119.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac6e',
    500: '#798b32',
    950: '#000000',
  },
}
SCSS
$custom: #798b32;
$custom-light: #a2ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#798b32",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 72.135,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.11607,
    "h": 119.7
  },
  "luminance": 0.2276
}

Semantic roles & 50–950 ramp

primary
#798B32
secondary
#7667B2
accent
#51D76C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798B32

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

Preview Lab → · Contrast checker → · Palette generator →

#798B32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva