#798E39#798E39

#798E39 is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.2% C 0.114 H 121.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#798E39
RGBrgb(121, 142, 57)
HSLhsl(75, 43%, 39%)
HSVhsv(75, 60%, 56%)
CMYKcmyk(14.8%, 0%, 59.9%, 44.3%)
CIE-LABlab(55.79, -20.75, 41.86)
CIE-LCHlch(55.79, 46.72, 116.37°)
OKLaboklab(61.18% -0.0595 0.0971)
OKLCHoklch(61.18% 0.114 121.5)
XYZxyz(18.2969, 23.7064, 7.4820)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E39 #4E398E
analogous
#8E7939 #798E39 #4E8E39
triadic
#798E39 #39798E #8E3979
tetradic
#798E39 #398E79 #4E398E #8E394E
square
#798E39 #398E79 #4E398E #8E394E
split-complementary
#798E39 #394E8E #79398E
monochromatic
#2F3716 #546227 #798E39 #9DB74D #B5C978

Accessibility & contrast

On white

3.66
#798E39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#798E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E39
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E39#FFFFFF#000000##000000
##798E391.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968630
Deuteranopia (green-blind)
#93863F
Tritanopia (blue-blind)
#7F877C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798e39;
/* rgb */ color: rgb(121, 142, 57);
/* oklch */ color: oklch(61.2% 0.114 121.5);
Tailwind
colors: {
  custom: {
    50: '#a2af73',
    500: '#798e39',
    950: '#000000',
  },
}
SCSS
$custom: #798e39;
$custom-light: #a2af73;
$custom-dark: #000000;
JSON
{
  "hex": "#798e39",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 74.824,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.11389,
    "h": 121.5
  },
  "luminance": 0.23706
}

Semantic roles & 50–950 ramp

primary
#798E39
secondary
#8171B2
accent
#55D274
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798E39

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

Preview Lab → · Contrast checker → · Palette generator →

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