#798E55#798E55

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

Color values

HEX#798E55
RGBrgb(121, 142, 85)
HSLhsl(82, 25%, 45%)
HSVhsv(82, 40%, 56%)
CMYKcmyk(14.8%, 0%, 40.1%, 44.3%)
CIE-LABlab(56.15, -17.65, 27.92)
CIE-LCHlch(56.15, 33.03, 122.30°)
OKLaboklab(61.58% -0.0484 0.0685)
OKLCHoklch(61.58% 0.084 125.3)
XYZxyz(19.1977, 24.0667, 12.2265)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E55 #6A558E
analogous
#8E8755 #798E55 #5D8E55
triadic
#798E55 #55798E #8E5579
tetradic
#798E55 #558E87 #6A558E #8E555D
square
#798E55 #558E87 #6A558E #8E555D
split-complementary
#798E55 #555D8E #87558E
monochromatic
#384127 #58683E #798E55 #97AC74 #B4C39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E55#FFFFFF#000000##000000
##798E551.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)
#948751
Deuteranopia (green-blind)
#918658
Tritanopia (blue-blind)
#7C8980
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e55;
/* rgb */ color: rgb(121, 142, 85);
/* oklch */ color: oklch(61.6% 0.084 125.3);
Tailwind
colors: {
  custom: {
    50: '#a0af85',
    500: '#798e55',
    950: '#000000',
  },
}
SCSS
$custom: #798e55;
$custom-light: #a0af85;
$custom-dark: #000000;
JSON
{
  "hex": "#798e55",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 85
  },
  "hsl": {
    "h": 82.105,
    "s": 25.11,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.0839,
    "h": 125.3
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#798E55
secondary
#9B8FB0
accent
#66C288
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E55

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

Preview Lab → · Contrast checker → · Palette generator →

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