#798C25#798C25

#798C25 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.127 H 119.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#798C25
RGBrgb(121, 140, 37)
HSLhsl(71, 58%, 35%)
HSVhsv(71, 74%, 55%)
CMYKcmyk(13.6%, 0%, 73.6%, 45.1%)
CIE-LABlab(55.03, -21.17, 49.65)
CIE-LCHlch(55.03, 53.97, 113.09°)
OKLaboklab(60.51% -0.0627 0.1106)
OKLCHoklch(60.51% 0.127 119.6)
XYZxyz(17.5975, 22.9548, 5.2536)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C25 #38258C
analogous
#8C6C25 #798C25 #468C25
triadic
#798C25 #25798C #8C2579
tetradic
#798C25 #258C6C #38258C #8C2546
square
#798C25 #258C6C #38258C #8C2546
split-complementary
#798C25 #25468C #6C258C
monochromatic
#252B0B #4F5C18 #798C25 #A3BC32 #BCD358

Accessibility & contrast

On white

3.76
#798C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#798C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C25
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C25#FFFFFF#000000##000000
##798C251.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958412
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#808478
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798c25;
/* rgb */ color: rgb(121, 140, 37);
/* oklch */ color: oklch(60.5% 0.127 119.6);
Tailwind
colors: {
  custom: {
    50: '#a3ad67',
    500: '#798c25',
    950: '#000000',
  },
}
SCSS
$custom: #798c25;
$custom-light: #a3ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#798c25",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 71.068,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.1271,
    "h": 119.6
  },
  "luminance": 0.22955
}

Semantic roles & 50–950 ramp

primary
#798C25
secondary
#6755B8
accent
#46E163
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798C25

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

Preview Lab → · Contrast checker → · Palette generator →

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