#798E1E#798E1E

#798E1E is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.9% C 0.134 H 120.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#798E1E
RGBrgb(121, 142, 30)
HSLhsl(71, 65%, 34%)
HSVhsv(71, 79%, 56%)
CMYKcmyk(14.8%, 0%, 78.9%, 44.3%)
CIE-LABlab(55.59, -22.54, 52.64)
CIE-LCHlch(55.59, 57.27, 113.18°)
OKLaboklab(60.95% -0.0671 0.1156)
OKLCHoklch(60.95% 0.134 120.1)
XYZxyz(17.7929, 23.5048, 4.8276)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E1E #331E8E
analogous
#8E6B1E #798E1E #418E1E
triadic
#798E1E #1E798E #8E1E79
tetradic
#798E1E #1E8E6B #331E8E #8E1E41
square
#798E1E #1E8E6B #331E8E #8E1E41
split-complementary
#798E1E #1E418E #6B1E8E
monochromatic
#232909 #4E5B13 #798E1E #A4C129 #BFD94D

Accessibility & contrast

On white

3.68
#798E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#798E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E1E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E1E#FFFFFF#000000##000000
##798E1E1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#808679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e1e;
/* rgb */ color: rgb(121, 142, 30);
/* oklch */ color: oklch(60.9% 0.134 120.1);
Tailwind
colors: {
  custom: {
    50: '#a3af64',
    500: '#798e1e',
    950: '#000000',
  },
}
SCSS
$custom: #798e1e;
$custom-light: #a3af64;
$custom-dark: #000000;
JSON
{
  "hex": "#798e1e",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 71.25,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60946,
    "c": 0.13369,
    "h": 120.1
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#798E1E
secondary
#614CBC
accent
#40E85F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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