#798F30#798F30

#798F30 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.123 H 121.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#798F30
RGBrgb(121, 143, 48)
HSLhsl(74, 50%, 37%)
HSVhsv(74, 66%, 56%)
CMYKcmyk(15.4%, 0%, 66.4%, 43.9%)
CIE-LABlab(56.01, -21.98, 46.18)
CIE-LCHlch(56.01, 51.15, 115.45°)
OKLaboklab(61.33% -0.0639 0.1051)
OKLCHoklch(61.33% 0.123 121.3)
XYZxyz(18.2414, 23.9233, 6.4524)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F30 #46308F
analogous
#8F7630 #798F30 #498F30
triadic
#798F30 #30798F #8F3079
tetradic
#798F30 #308F76 #46308F #8F3049
square
#798F30 #308F76 #46308F #8F3049
split-complementary
#798F30 #30498F #76308F
monochromatic
#2B3311 #526121 #798F30 #A0BD3F #B7CE6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798F30#FFFFFF#000000##000000
##798F301.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988723
Deuteranopia (green-blind)
#958637
Tritanopia (blue-blind)
#7F887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f30;
/* rgb */ color: rgb(121, 143, 48);
/* oklch */ color: oklch(61.3% 0.123 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2af6d',
    500: '#798f30',
    950: '#000000',
  },
}
SCSS
$custom: #798f30;
$custom-light: #a2af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#798f30",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 73.895,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.12294,
    "h": 121.3
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#798F30
secondary
#7866B5
accent
#4FD96F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798F30

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

Preview Lab → · Contrast checker → · Palette generator →

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