#798F25#798F25

#798F25 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.131 H 120.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#798F25
RGBrgb(121, 143, 37)
HSLhsl(72, 59%, 35%)
HSVhsv(72, 74%, 56%)
CMYKcmyk(15.4%, 0%, 74.1%, 43.9%)
CIE-LABlab(55.93, -22.69, 50.53)
CIE-LCHlch(55.93, 55.39, 114.18°)
OKLaboklab(61.23% -0.0669 0.1124)
OKLCHoklch(61.23% 0.131 120.8)
XYZxyz(18.0419, 23.8435, 5.4017)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F25 #3B258F
analogous
#8F7025 #798F25 #448F25
triadic
#798F25 #25798F #8F2579
tetradic
#798F25 #258F70 #3B258F #8F2544
square
#798F25 #258F70 #3B258F #8F2544
split-complementary
#798F25 #25448F #70258F
monochromatic
#272E0C #505E18 #798F25 #A2C032 #BBD45A

Accessibility & contrast

On white

3.64
#798F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#798F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F25
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F25#FFFFFF#000000##000000
##798F251.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988611
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#80877B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f25;
/* rgb */ color: rgb(121, 143, 37);
/* oklch */ color: oklch(61.2% 0.131 120.8);
Tailwind
colors: {
  custom: {
    50: '#a3af67',
    500: '#798f25',
    950: '#000000',
  },
}
SCSS
$custom: #798f25;
$custom-light: #a3af67;
$custom-dark: #000000;
JSON
{
  "hex": "#798f25",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 72.453,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.13081,
    "h": 120.8
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#798F25
secondary
#6B57B9
accent
#46E266
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798F25

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

Preview Lab → · Contrast checker → · Palette generator →

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