#798E4B#798E4B

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

Color values

HEX#798E4B
RGBrgb(121, 142, 75)
HSLhsl(79, 31%, 43%)
HSVhsv(79, 47%, 56%)
CMYKcmyk(14.8%, 0%, 47.2%, 44.3%)
CIE-LABlab(56.01, -18.90, 33.08)
CIE-LCHlch(56.01, 38.10, 119.75°)
OKLaboklab(61.42% -0.0527 0.0796)
OKLCHoklch(61.42% 0.095 123.5)
XYZxyz(18.8282, 23.9189, 10.2801)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E4B #604B8E
analogous
#8E824B #798E4B #578E4B
triadic
#798E4B #4B798E #8E4B79
tetradic
#798E4B #4B8E82 #604B8E #8E4B57
square
#798E4B #4B8E82 #604B8E #8E4B57
split-complementary
#798E4B #4B578E #824B8E
monochromatic
#353E21 #576636 #798E4B #98AF67 #B4C48F

Accessibility & contrast

On white

3.63
#798E4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#798E4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E4B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E4B#FFFFFF#000000##000000
##798E4B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958745
Deuteranopia (green-blind)
#92864F
Tritanopia (blue-blind)
#7D887E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e4b;
/* rgb */ color: rgb(121, 142, 75);
/* oklch */ color: oklch(61.4% 0.095 123.5);
Tailwind
colors: {
  custom: {
    50: '#a1af7f',
    500: '#798e4b',
    950: '#000000',
  },
}
SCSS
$custom: #798e4b;
$custom-light: #a1af7f;
$custom-dark: #000000;
JSON
{
  "hex": "#798e4b",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 78.806,
    "s": 30.876,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.09547,
    "h": 123.5
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#798E4B
secondary
#9285B0
accent
#61C781
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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