#798E45#798E45

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

Color values

HEX#798E45
RGBrgb(121, 142, 69)
HSLhsl(77, 35%, 41%)
HSVhsv(77, 51%, 56%)
CMYKcmyk(14.8%, 0%, 51.4%, 44.3%)
CIE-LABlab(55.93, -19.58, 36.10)
CIE-LCHlch(55.93, 41.06, 118.48°)
OKLaboklab(61.33% -0.0551 0.0859)
OKLCHoklch(61.33% 0.102 122.7)
XYZxyz(18.6324, 23.8406, 9.2492)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E45 #5A458E
analogous
#8E7F45 #798E45 #558E45
triadic
#798E45 #45798E #8E4579
tetradic
#798E45 #458E7F #5A458E #8E4555
square
#798E45 #458E7F #5A458E #8E4555
split-complementary
#798E45 #45558E #7F458E
monochromatic
#333C1D #566531 #798E45 #9AB15F #B4C588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E45#FFFFFF#000000##000000
##798E451.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)
#95873E
Deuteranopia (green-blind)
#928649
Tritanopia (blue-blind)
#7E887D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e45;
/* rgb */ color: rgb(121, 142, 69);
/* oklch */ color: oklch(61.3% 0.102 122.7);
Tailwind
colors: {
  custom: {
    50: '#a1af7a',
    500: '#798e45',
    950: '#000000',
  },
}
SCSS
$custom: #798e45;
$custom-light: #a1af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#798e45",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 77.26,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.102,
    "h": 122.7
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#798E45
secondary
#8D7EB0
accent
#5DCB7D
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #798E45

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

Preview Lab → · Contrast checker → · Palette generator →

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