#798D19#798D19

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

Color values

HEX#798D19
RGBrgb(121, 141, 25)
HSLhsl(70, 70%, 33%)
HSVhsv(70, 82%, 55%)
CMYKcmyk(14.2%, 0%, 82.3%, 44.7%)
CIE-LABlab(55.26, -22.25, 53.88)
CIE-LCHlch(55.26, 58.30, 112.44°)
OKLaboklab(60.68% -0.0667 0.1174)
OKLCHoklch(60.68% 0.135 119.6)
XYZxyz(17.5859, 23.1850, 4.4682)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D19 #2D198D
analogous
#8D6719 #798D19 #3F8D19
triadic
#798D19 #19798D #8D1979
tetradic
#798D19 #198D67 #2D198D #8D193F
square
#798D19 #198D67 #2D198D #8D193F
split-complementary
#798D19 #193F8D #67198D
monochromatic
#202507 #4C5910 #798D19 #A6C122 #C3DE43

Accessibility & contrast

On white

3.73
#798D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#798D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D19
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D19#FFFFFF#000000##000000
##798D191.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#818578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798d19;
/* rgb */ color: rgb(121, 141, 25);
/* oklch */ color: oklch(60.7% 0.135 119.6);
Tailwind
colors: {
  custom: {
    50: '#a3ae62',
    500: '#798d19',
    950: '#000000',
  },
}
SCSS
$custom: #798d19;
$custom-light: #a3ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#798d19",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 70.345,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.135,
    "h": 119.6
  },
  "luminance": 0.23185
}

Semantic roles & 50–950 ramp

primary
#798D19
secondary
#5843BF
accent
#3BED5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #798D19

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

Preview Lab → · Contrast checker → · Palette generator →

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