#798E54#798E54

#798E54 is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.6% C 0.085 H 125.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#798E54
RGBrgb(121, 142, 84)
HSLhsl(82, 26%, 44%)
HSVhsv(82, 41%, 56%)
CMYKcmyk(14.8%, 0%, 40.8%, 44.3%)
CIE-LABlab(56.14, -17.78, 28.44)
CIE-LCHlch(56.14, 33.54, 122.01°)
OKLaboklab(61.57% -0.0489 0.0697)
OKLCHoklch(61.57% 0.085 125.1)
XYZxyz(19.1583, 24.0509, 12.0188)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E54 #69548E
analogous
#8E8654 #798E54 #5C8E54
triadic
#798E54 #54798E #8E5479
tetradic
#798E54 #548E86 #69548E #8E545C
square
#798E54 #548E86 #69548E #8E545C
split-complementary
#798E54 #545C8E #86548E
monochromatic
#374127 #58683D #798E54 #97AC73 #B4C399

Accessibility & contrast

On white

3.61
#798E54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#798E54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E54
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E54#FFFFFF#000000##000000
##798E541.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948750
Deuteranopia (green-blind)
#918657
Tritanopia (blue-blind)
#7D8980
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e54;
/* rgb */ color: rgb(121, 142, 84);
/* oklch */ color: oklch(61.6% 0.085 125.1);
Tailwind
colors: {
  custom: {
    50: '#a0af85',
    500: '#798e54',
    950: '#000000',
  },
}
SCSS
$custom: #798e54;
$custom-light: #a0af85;
$custom-dark: #000000;
JSON
{
  "hex": "#798e54",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 84
  },
  "hsl": {
    "h": 81.724,
    "s": 25.664,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.08509,
    "h": 125.1
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

primary
#798E54
secondary
#9A8EB0
accent
#66C287
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E54

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

Preview Lab → · Contrast checker → · Palette generator →

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