#798C30#798C30

#798C30 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.6% C 0.119 H 120.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#798C30
RGBrgb(121, 140, 48)
HSLhsl(72, 49%, 37%)
HSVhsv(72, 66%, 55%)
CMYKcmyk(13.6%, 0%, 65.7%, 45.1%)
CIE-LABlab(55.11, -20.45, 45.23)
CIE-LCHlch(55.11, 49.64, 114.33°)
OKLaboklab(60.6% -0.0596 0.103)
OKLCHoklch(60.6% 0.119 120.1)
XYZxyz(17.7970, 23.0346, 6.3043)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C30 #43308C
analogous
#8C7130 #798C30 #4B8C30
triadic
#798C30 #30798C #8C3079
tetradic
#798C30 #308C71 #43308C #8C304B
square
#798C30 #308C71 #43308C #8C304B
split-complementary
#798C30 #304B8C #71308C
monochromatic
#2A3111 #525E20 #798C30 #A0BA40 #B8CC6A

Accessibility & contrast

On white

3.75
#798C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#798C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C30
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C30#FFFFFF#000000##000000
##798C301.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958424
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#808579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798c30;
/* rgb */ color: rgb(121, 140, 48);
/* oklch */ color: oklch(60.6% 0.119 120.1);
Tailwind
colors: {
  custom: {
    50: '#a2ad6d',
    500: '#798c30',
    950: '#000000',
  },
}
SCSS
$custom: #798c30;
$custom-light: #a2ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#798c30",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 72.391,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.11903,
    "h": 120.1
  },
  "luminance": 0.23035
}

Semantic roles & 50–950 ramp

primary
#798C30
secondary
#7564B3
accent
#4FD86C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798C30

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

Preview Lab → · Contrast checker → · Palette generator →

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