#798E48#798E48

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

Color values

HEX#798E48
RGBrgb(121, 142, 72)
HSLhsl(78, 33%, 42%)
HSVhsv(78, 49%, 56%)
CMYKcmyk(14.8%, 0%, 49.3%, 44.3%)
CIE-LABlab(55.97, -19.25, 34.60)
CIE-LCHlch(55.97, 39.59, 119.09°)
OKLaboklab(61.37% -0.0539 0.0828)
OKLCHoklch(61.37% 0.099 123.1)
XYZxyz(18.7279, 23.8788, 9.7521)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E48 #5D488E
analogous
#8E8048 #798E48 #568E48
triadic
#798E48 #48798E #8E4879
tetradic
#798E48 #488E80 #5D488E #8E4856
square
#798E48 #488E80 #5D488E #8E4856
split-complementary
#798E48 #48568E #80488E
monochromatic
#343D1F #566533 #798E48 #99B063 #B4C58C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E48#FFFFFF#000000##000000
##798E481.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958742
Deuteranopia (green-blind)
#92864C
Tritanopia (blue-blind)
#7E887E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e48;
/* rgb */ color: rgb(121, 142, 72);
/* oklch */ color: oklch(61.4% 0.099 123.1);
Tailwind
colors: {
  custom: {
    50: '#a1af7d',
    500: '#798e48',
    950: '#000000',
  },
}
SCSS
$custom: #798e48;
$custom-light: #a1af7d;
$custom-dark: #000000;
JSON
{
  "hex": "#798e48",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 72
  },
  "hsl": {
    "h": 78,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61371,
    "c": 0.09878,
    "h": 123.1
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#798E48
secondary
#9082B0
accent
#5FC97F
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798E48

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

Preview Lab → · Contrast checker → · Palette generator →

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