#798E47#798E47

#798E47 is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.4% C 0.100 H 122.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#798E47
RGBrgb(121, 142, 71)
HSLhsl(78, 33%, 42%)
HSVhsv(78, 50%, 56%)
CMYKcmyk(14.8%, 0%, 50%, 44.3%)
CIE-LABlab(55.95, -19.36, 35.10)
CIE-LCHlch(55.95, 40.08, 118.88°)
OKLaboklab(61.36% -0.0543 0.0838)
OKLCHoklch(61.36% 0.1 122.9)
XYZxyz(18.6955, 23.8658, 9.5817)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E47 #5C478E
analogous
#8E8047 #798E47 #568E47
triadic
#798E47 #47798E #8E4779
tetradic
#798E47 #478E80 #5C478E #8E4756
square
#798E47 #478E80 #5C478E #8E4756
split-complementary
#798E47 #47568E #80478E
monochromatic
#333C1E #566533 #798E47 #99B062 #B4C58B

Accessibility & contrast

On white

3.64
#798E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#798E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E47
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E47#FFFFFF#000000##000000
##798E471.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958741
Deuteranopia (green-blind)
#92864B
Tritanopia (blue-blind)
#7E887E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e47;
/* rgb */ color: rgb(121, 142, 71);
/* oklch */ color: oklch(61.4% 0.100 122.9);
Tailwind
colors: {
  custom: {
    50: '#a1af7c',
    500: '#798e47',
    950: '#000000',
  },
}
SCSS
$custom: #798e47;
$custom-light: #a1af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#798e47",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 77.746,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.09986,
    "h": 122.9
  },
  "luminance": 0.23866
}

Semantic roles & 50–950 ramp

primary
#798E47
secondary
#8F80B0
accent
#5EC97E
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798E47

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

Preview Lab → · Contrast checker → · Palette generator →

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