#798D25#798D25

#798D25 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.7% C 0.128 H 120.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#798D25
RGBrgb(121, 141, 37)
HSLhsl(72, 58%, 35%)
HSVhsv(72, 74%, 55%)
CMYKcmyk(14.2%, 0%, 73.8%, 44.7%)
CIE-LABlab(55.33, -21.68, 49.94)
CIE-LCHlch(55.33, 54.44, 113.46°)
OKLaboklab(60.75% -0.0641 0.1112)
OKLCHoklch(60.75% 0.128 120)
XYZxyz(17.7443, 23.2483, 5.3025)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D25 #39258D
analogous
#8D6D25 #798D25 #458D25
triadic
#798D25 #25798D #8D2579
tetradic
#798D25 #258D6D #39258D #8D2545
square
#798D25 #258D6D #39258D #8D2545
split-complementary
#798D25 #25458D #6D258D
monochromatic
#262C0C #4F5D18 #798D25 #A3BD32 #BCD359

Accessibility & contrast

On white

3.72
#798D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#798D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D25
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D25#FFFFFF#000000##000000
##798D251.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968512
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#808579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798d25;
/* rgb */ color: rgb(121, 141, 37);
/* oklch */ color: oklch(60.7% 0.128 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3ae67',
    500: '#798d25',
    950: '#000000',
  },
}
SCSS
$custom: #798d25;
$custom-light: #a3ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#798d25",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 71.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.12833,
    "h": 120
  },
  "luminance": 0.23248
}

Semantic roles & 50–950 ramp

primary
#798D25
secondary
#6956B8
accent
#46E264
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798D25

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

Preview Lab → · Contrast checker → · Palette generator →

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