#798E46#798E46

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

Color values

HEX#798E46
RGBrgb(121, 142, 70)
HSLhsl(78, 34%, 42%)
HSVhsv(78, 51%, 56%)
CMYKcmyk(14.8%, 0%, 50.7%, 44.3%)
CIE-LABlab(55.94, -19.47, 35.60)
CIE-LCHlch(55.94, 40.57, 118.68°)
OKLaboklab(61.34% -0.0547 0.0848)
OKLCHoklch(61.34% 0.101 122.8)
XYZxyz(18.6637, 23.8531, 9.4140)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E46 #5B468E
analogous
#8E7F46 #798E46 #558E46
triadic
#798E46 #46798E #8E4679
tetradic
#798E46 #468E7F #5B468E #8E4655
square
#798E46 #468E7F #5B468E #8E4655
split-complementary
#798E46 #46558E #7F468E
monochromatic
#333C1E #566532 #798E46 #99B160 #B4C589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E46#FFFFFF#000000##000000
##798E461.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)
#958740
Deuteranopia (green-blind)
#92864A
Tritanopia (blue-blind)
#7E887D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e46;
/* rgb */ color: rgb(121, 142, 70);
/* oklch */ color: oklch(61.3% 0.101 122.8);
Tailwind
colors: {
  custom: {
    50: '#a1af7b',
    500: '#798e46',
    950: '#000000',
  },
}
SCSS
$custom: #798e46;
$custom-light: #a1af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#798e46",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 70
  },
  "hsl": {
    "h": 77.5,
    "s": 33.962,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.10093,
    "h": 122.8
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

primary
#798E46
secondary
#8E7FB0
accent
#5ECA7D
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798E46

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

Preview Lab → · Contrast checker → · Palette generator →

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