#798D24#798D24

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

Color values

HEX#798D24
RGBrgb(121, 141, 36)
HSLhsl(71, 59%, 35%)
HSVhsv(71, 74%, 55%)
CMYKcmyk(14.2%, 0%, 74.5%, 44.7%)
CIE-LABlab(55.32, -21.74, 50.31)
CIE-LCHlch(55.32, 54.80, 113.37°)
OKLaboklab(60.74% -0.0643 0.1118)
OKLCHoklch(60.74% 0.129 119.9)
XYZxyz(17.7288, 23.2422, 5.2209)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D24 #38248D
analogous
#8D6D24 #798D24 #448D24
triadic
#798D24 #24798D #8D2479
tetradic
#798D24 #248D6D #38248D #8D2444
square
#798D24 #248D6D #38248D #8D2444
split-complementary
#798D24 #24448D #6D248D
monochromatic
#252B0B #4F5C18 #798D24 #A3BE30 #BCD457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798D24#FFFFFF#000000##000000
##798D241.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)
#968510
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#808579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798d24;
/* rgb */ color: rgb(121, 141, 36);
/* oklch */ color: oklch(60.7% 0.129 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3ae67',
    500: '#798d24',
    950: '#000000',
  },
}
SCSS
$custom: #798d24;
$custom-light: #a3ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#798d24",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 71.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.12897,
    "h": 119.9
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#798D24
secondary
#6754B8
accent
#45E363
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798D24

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

Preview Lab → · Contrast checker → · Palette generator →

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