#798F37#798F37

#798F37 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.4% C 0.117 H 121.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#798F37
RGBrgb(121, 143, 55)
HSLhsl(75, 44%, 39%)
HSVhsv(75, 62%, 56%)
CMYKcmyk(15.4%, 0%, 61.5%, 43.9%)
CIE-LABlab(56.07, -21.43, 43.11)
CIE-LCHlch(56.07, 48.14, 116.43°)
OKLaboklab(61.4% -0.0616 0.0995)
OKLCHoklch(61.4% 0.117 121.8)
XYZxyz(18.3974, 23.9857, 7.2742)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F37 #4D378F
analogous
#8F7937 #798F37 #4D8F37
triadic
#798F37 #37798F #8F3779
tetradic
#798F37 #378F79 #4D378F #8F374D
square
#798F37 #378F79 #4D378F #8F374D
split-complementary
#798F37 #374D8F #79378F
monochromatic
#2E3715 #546326 #798F37 #9DB94A #B5CA76

Accessibility & contrast

On white

3.62
#798F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#798F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F37
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F37#FFFFFF#000000##000000
##798F371.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872D
Deuteranopia (green-blind)
#94863D
Tritanopia (blue-blind)
#7F887C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f37;
/* rgb */ color: rgb(121, 143, 55);
/* oklch */ color: oklch(61.4% 0.117 121.8);
Tailwind
colors: {
  custom: {
    50: '#a2af72',
    500: '#798f37',
    950: '#000000',
  },
}
SCSS
$custom: #798f37;
$custom-light: #a2af72;
$custom-dark: #000000;
JSON
{
  "hex": "#798f37",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 75,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61395,
    "c": 0.11705,
    "h": 121.8
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#798F37
secondary
#806FB3
accent
#54D474
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798F37

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

Preview Lab → · Contrast checker → · Palette generator →

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