#798E25#798E25

#798E25 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.130 H 120.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#798E25
RGBrgb(121, 142, 37)
HSLhsl(72, 59%, 35%)
HSVhsv(72, 74%, 56%)
CMYKcmyk(14.8%, 0%, 73.9%, 44.3%)
CIE-LABlab(55.63, -22.19, 50.24)
CIE-LCHlch(55.63, 54.92, 113.83°)
OKLaboklab(60.99% -0.0655 0.1118)
OKLCHoklch(60.99% 0.13 120.4)
XYZxyz(17.8924, 23.5446, 5.3519)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E25 #3A258E
analogous
#8E6E25 #798E25 #458E25
triadic
#798E25 #25798E #8E2579
tetradic
#798E25 #258E6E #3A258E #8E2545
square
#798E25 #258E6E #3A258E #8E2545
split-complementary
#798E25 #25458E #6E258E
monochromatic
#262D0C #505D18 #798E25 #A2BF32 #BBD45A

Accessibility & contrast

On white

3.68
#798E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#798E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E25
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E25#FFFFFF#000000##000000
##798E251.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978511
Deuteranopia (green-blind)
#95852E
Tritanopia (blue-blind)
#80867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e25;
/* rgb */ color: rgb(121, 142, 37);
/* oklch */ color: oklch(61.0% 0.130 120.4);
Tailwind
colors: {
  custom: {
    50: '#a3af67',
    500: '#798e25',
    950: '#000000',
  },
}
SCSS
$custom: #798e25;
$custom-light: #a3af67;
$custom-dark: #000000;
JSON
{
  "hex": "#798e25",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 72,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60991,
    "c": 0.12957,
    "h": 120.4
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#798E25
secondary
#6A56B9
accent
#46E265
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798E25

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

Preview Lab → · Contrast checker → · Palette generator →

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