#798A25#798A25

#798A25 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.125 H 118.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#798A25
RGBrgb(121, 138, 37)
HSLhsl(70, 58%, 34%)
HSVhsv(70, 73%, 54%)
CMYKcmyk(12.3%, 0%, 73.2%, 45.9%)
CIE-LABlab(54.42, -20.14, 49.06)
CIE-LCHlch(54.42, 53.03, 112.33°)
OKLaboklab(60.02% -0.0598 0.1093)
OKLCHoklch(60.02% 0.125 118.7)
XYZxyz(17.3079, 22.3756, 5.1570)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A25 #36258A
analogous
#8A6925 #798A25 #478A25
triadic
#798A25 #25798A #8A2579
tetradic
#798A25 #258A69 #36258A #8A2547
square
#798A25 #258A69 #36258A #8A2547
split-complementary
#798A25 #25478A #69258A
monochromatic
#24290B #4F5A18 #798A25 #A3BA32 #BDD257

Accessibility & contrast

On white

3.84
#798A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#798A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A25
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A25#FFFFFF#000000##000000
##798A251.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#91832D
Tritanopia (blue-blind)
#808276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798a25;
/* rgb */ color: rgb(121, 138, 37);
/* oklch */ color: oklch(60.0% 0.125 118.7);
Tailwind
colors: {
  custom: {
    50: '#a3ac67',
    500: '#798a25',
    950: '#000000',
  },
}
SCSS
$custom: #798a25;
$custom-light: #a3ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#798a25",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 70.099,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.12463,
    "h": 118.7
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#798A25
secondary
#6554B7
accent
#47E161
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798A25

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

Preview Lab → · Contrast checker → · Palette generator →

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