#798F19#798F19

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

Color values

HEX#798F19
RGBrgb(121, 143, 25)
HSLhsl(71, 70%, 33%)
HSVhsv(71, 83%, 56%)
CMYKcmyk(15.4%, 0%, 82.5%, 43.9%)
CIE-LABlab(55.87, -23.26, 54.42)
CIE-LCHlch(55.87, 59.18, 113.14°)
OKLaboklab(61.16% -0.0694 0.1185)
OKLCHoklch(61.16% 0.137 120.4)
XYZxyz(17.8834, 23.7801, 4.5674)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F19 #2F198F
analogous
#8F6A19 #798F19 #3E8F19
triadic
#798F19 #19798F #8F1979
tetradic
#798F19 #198F6A #2F198F #8F193E
square
#798F19 #198F6A #2F198F #8F193E
split-complementary
#798F19 #193E8F #6A198F
monochromatic
#212707 #4D5B10 #798F19 #A5C322 #C2DE44

Accessibility & contrast

On white

3.65
#798F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#798F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F19
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F19#FFFFFF#000000##000000
##798F191.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#80877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f19;
/* rgb */ color: rgb(121, 143, 25);
/* oklch */ color: oklch(61.2% 0.137 120.4);
Tailwind
colors: {
  custom: {
    50: '#a3af62',
    500: '#798f19',
    950: '#000000',
  },
}
SCSS
$custom: #798f19;
$custom-light: #a3af62;
$custom-dark: #000000;
JSON
{
  "hex": "#798f19",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 71.186,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.13736,
    "h": 120.4
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#798F19
secondary
#5B44BF
accent
#3BED5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #798F19

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

Preview Lab → · Contrast checker → · Palette generator →

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