#798E19#798E19

#798E19 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.9% C 0.136 H 120.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#798E19
RGBrgb(121, 142, 25)
HSLhsl(71, 70%, 33%)
HSVhsv(71, 82%, 56%)
CMYKcmyk(14.8%, 0%, 82.4%, 44.3%)
CIE-LABlab(55.56, -22.76, 54.15)
CIE-LCHlch(55.56, 58.74, 112.80°)
OKLaboklab(60.92% -0.068 0.118)
OKLCHoklch(60.92% 0.136 120)
XYZxyz(17.7340, 23.4812, 4.5176)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E19 #2E198E
analogous
#8E6819 #798E19 #3F8E19
triadic
#798E19 #19798E #8E1979
tetradic
#798E19 #198E68 #2E198E #8E193F
square
#798E19 #198E68 #2E198E #8E193F
split-complementary
#798E19 #193F8E #68198E
monochromatic
#202607 #4D5A10 #798E19 #A5C222 #C2DE43

Accessibility & contrast

On white

3.69
#798E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#798E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E19
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E19#FFFFFF#000000##000000
##798E191.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#808679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798e19;
/* rgb */ color: rgb(121, 142, 25);
/* oklch */ color: oklch(60.9% 0.136 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3af62',
    500: '#798e19',
    950: '#000000',
  },
}
SCSS
$custom: #798e19;
$custom-light: #a3af62;
$custom-dark: #000000;
JSON
{
  "hex": "#798e19",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 70.769,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.13618,
    "h": 120
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#798E19
secondary
#5A44BF
accent
#3BED5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #798E19

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

Preview Lab → · Contrast checker → · Palette generator →

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