#798F1E#798F1E

#798F1E is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.135 H 120.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#798F1E
RGBrgb(121, 143, 30)
HSLhsl(72, 65%, 34%)
HSVhsv(72, 79%, 56%)
CMYKcmyk(15.4%, 0%, 79%, 43.9%)
CIE-LABlab(55.89, -23.05, 52.92)
CIE-LCHlch(55.89, 57.72, 113.54°)
OKLaboklab(61.19% -0.0685 0.1162)
OKLCHoklch(61.19% 0.135 120.5)
XYZxyz(17.9423, 23.8037, 4.8774)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F1E #341E8F
analogous
#8F6D1E #798F1E #418F1E
triadic
#798F1E #1E798F #8F1E79
tetradic
#798F1E #1E8F6D #341E8F #8F1E41
square
#798F1E #1E8F6D #341E8F #8F1E41
split-complementary
#798F1E #1E418F #6D1E8F
monochromatic
#232A09 #4E5C13 #798F1E #A4C229 #BEDA4E

Accessibility & contrast

On white

3.65
#798F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#798F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F1E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F1E#FFFFFF#000000##000000
##798F1E1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#80877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f1e;
/* rgb */ color: rgb(121, 143, 30);
/* oklch */ color: oklch(61.2% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a3af64',
    500: '#798f1e',
    950: '#000000',
  },
}
SCSS
$custom: #798f1e;
$custom-light: #a3af64;
$custom-dark: #000000;
JSON
{
  "hex": "#798f1e",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 71.681,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.1349,
    "h": 120.5
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#798F1E
secondary
#624CBC
accent
#40E860
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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