#798E43#798E43

#798E43 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.104 H 122.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#798E43
RGBrgb(121, 142, 67)
HSLhsl(77, 36%, 41%)
HSVhsv(77, 53%, 56%)
CMYKcmyk(14.8%, 0%, 52.8%, 44.3%)
CIE-LABlab(55.90, -19.79, 37.08)
CIE-LCHlch(55.90, 42.03, 118.09°)
OKLaboklab(61.3% -0.0558 0.0878)
OKLCHoklch(61.3% 0.104 122.4)
XYZxyz(18.5714, 23.8162, 8.9277)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E43 #58438E
analogous
#8E7D43 #798E43 #538E43
triadic
#798E43 #43798E #8E4379
tetradic
#798E43 #438E7D #58438E #8E4353
square
#798E43 #438E7D #58438E #8E4353
split-complementary
#798E43 #43538E #7D438E
monochromatic
#323B1C #56642F #798E43 #9AB25C #B4C686

Accessibility & contrast

On white

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

On black

5.76
#798E43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E43
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E43#FFFFFF#000000##000000
##798E431.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863C
Deuteranopia (green-blind)
#938647
Tritanopia (blue-blind)
#7E887D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e43;
/* rgb */ color: rgb(121, 142, 67);
/* oklch */ color: oklch(61.3% 0.104 122.4);
Tailwind
colors: {
  custom: {
    50: '#a1af79',
    500: '#798e43',
    950: '#000000',
  },
}
SCSS
$custom: #798e43;
$custom-light: #a1af79;
$custom-dark: #000000;
JSON
{
  "hex": "#798e43",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 67
  },
  "hsl": {
    "h": 76.8,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.613,
    "c": 0.10409,
    "h": 122.4
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#798E43
secondary
#8B7CB1
accent
#5CCC7B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798E43

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

Preview Lab → · Contrast checker → · Palette generator →

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