#798D30#798D30

#798D30 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.120 H 120.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#798D30
RGBrgb(121, 141, 48)
HSLhsl(73, 49%, 37%)
HSVhsv(73, 66%, 55%)
CMYKcmyk(14.2%, 0%, 66%, 44.7%)
CIE-LABlab(55.41, -20.96, 45.55)
CIE-LCHlch(55.41, 50.14, 114.72°)
OKLaboklab(60.84% -0.061 0.1037)
OKLCHoklch(60.84% 0.12 120.5)
XYZxyz(17.9438, 23.3281, 6.3532)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D30 #44308D
analogous
#8D7330 #798D30 #4B8D30
triadic
#798D30 #30798D #8D3079
tetradic
#798D30 #308D73 #44308D #8D304B
square
#798D30 #308D73 #44308D #8D304B
split-complementary
#798D30 #304B8D #73308D
monochromatic
#2B3211 #525F20 #798D30 #A0BB40 #B8CD6B

Accessibility & contrast

On white

3.71
#798D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#798D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D30
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D30#FFFFFF#000000##000000
##798D301.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968524
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#80867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d30;
/* rgb */ color: rgb(121, 141, 48);
/* oklch */ color: oklch(60.8% 0.120 120.5);
Tailwind
colors: {
  custom: {
    50: '#a2ae6d',
    500: '#798d30',
    950: '#000000',
  },
}
SCSS
$custom: #798d30;
$custom-light: #a2ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#798d30",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 72.903,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.12033,
    "h": 120.5
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

primary
#798D30
secondary
#7665B4
accent
#4FD96D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798D30

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

Preview Lab → · Contrast checker → · Palette generator →

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