#798E4C#798E4C

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

Color values

HEX#798E4C
RGBrgb(121, 142, 76)
HSLhsl(79, 30%, 43%)
HSVhsv(79, 46%, 56%)
CMYKcmyk(14.8%, 0%, 46.5%, 44.3%)
CIE-LABlab(56.02, -18.79, 32.57)
CIE-LCHlch(56.02, 37.60, 119.98°)
OKLaboklab(61.43% -0.0523 0.0786)
OKLCHoklch(61.43% 0.094 123.6)
XYZxyz(18.8626, 23.9327, 10.4618)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E4C #614C8E
analogous
#8E824C #798E4C #588E4C
triadic
#798E4C #4C798E #8E4C79
tetradic
#798E4C #4C8E82 #614C8E #8E4C58
square
#798E4C #4C8E82 #614C8E #8E4C58
split-complementary
#798E4C #4C588E #824C8E
monochromatic
#353E21 #576637 #798E4C #98AF69 #B4C491

Accessibility & contrast

On white

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

On black

5.79
#798E4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E4C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E4C#FFFFFF#000000##000000
##798E4C1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958747
Deuteranopia (green-blind)
#928650
Tritanopia (blue-blind)
#7D887E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e4c;
/* rgb */ color: rgb(121, 142, 76);
/* oklch */ color: oklch(61.4% 0.094 123.6);
Tailwind
colors: {
  custom: {
    50: '#a1af7f',
    500: '#798e4c',
    950: '#000000',
  },
}
SCSS
$custom: #798e4c;
$custom-light: #a1af7f;
$custom-dark: #000000;
JSON
{
  "hex": "#798e4c",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 76
  },
  "hsl": {
    "h": 79.091,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.09435,
    "h": 123.6
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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