#798E30#798E30

#798E30 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.1% C 0.122 H 120.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#798E30
RGBrgb(121, 142, 48)
HSLhsl(73, 49%, 37%)
HSVhsv(73, 66%, 56%)
CMYKcmyk(14.8%, 0%, 66.2%, 44.3%)
CIE-LABlab(55.71, -21.47, 45.86)
CIE-LCHlch(55.71, 50.64, 115.09°)
OKLaboklab(61.08% -0.0624 0.1044)
OKLCHoklch(61.08% 0.122 120.9)
XYZxyz(18.0919, 23.6244, 6.4026)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E30 #45308E
analogous
#8E7430 #798E30 #4A8E30
triadic
#798E30 #30798E #8E3079
tetradic
#798E30 #308E74 #45308E #8E304A
square
#798E30 #308E74 #45308E #8E304A
split-complementary
#798E30 #304A8E #74308E
monochromatic
#2B3311 #526021 #798E30 #A0BC3F #B7CD6B

Accessibility & contrast

On white

3.67
#798E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#798E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E30
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E30#FFFFFF#000000##000000
##798E301.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#7F877B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e30;
/* rgb */ color: rgb(121, 142, 48);
/* oklch */ color: oklch(61.1% 0.122 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2af6d',
    500: '#798e30',
    950: '#000000',
  },
}
SCSS
$custom: #798e30;
$custom-light: #a2af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#798e30",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 73.404,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61082,
    "c": 0.12164,
    "h": 120.9
  },
  "luminance": 0.23624
}

Semantic roles & 50–950 ramp

primary
#798E30
secondary
#7765B4
accent
#4FD96E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798E30

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

Preview Lab → · Contrast checker → · Palette generator →

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