#799C26#799C26

#799C26 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.146 H 125.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#799C26
RGBrgb(121, 156, 38)
HSLhsl(78, 61%, 38%)
HSVhsv(78, 76%, 61%)
CMYKcmyk(22.4%, 0%, 75.6%, 38.8%)
CIE-LABlab(59.87, -29.03, 53.98)
CIE-LCHlch(59.87, 61.29, 118.27°)
OKLaboklab(64.42% -0.0842 0.1198)
OKLCHoklch(64.42% 0.146 125.1)
XYZxyz(20.1236, 27.9816, 6.1741)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C26 #49269C
analogous
#9C8426 #799C26 #3E9C26
triadic
#799C26 #26799C #9C2679
tetradic
#799C26 #269C84 #49269C #9C263E
square
#799C26 #269C84 #49269C #9C263E
split-complementary
#799C26 #263E9C #84269C
monochromatic
#2D3A0E #536B1A #799C26 #9FCD32 #B6D963

Accessibility & contrast

On white

3.18
#799C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#799C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C26
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C26#FFFFFF#000000##000000
##799C261.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910C
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#7F9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c26;
/* rgb */ color: rgb(121, 156, 38);
/* oklch */ color: oklch(64.4% 0.146 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b969',
    500: '#799c26',
    950: '#000000',
  },
}
SCSS
$custom: #799c26;
$custom-light: #a3b969;
$custom-dark: #000000;
JSON
{
  "hex": "#799c26",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 38
  },
  "hsl": {
    "h": 77.797,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.14645,
    "h": 125.1
  },
  "luminance": 0.27982
}

Semantic roles & 50–950 ramp

primary
#799C26
secondary
#7B5FBF
accent
#44E473
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799C26

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

Preview Lab → · Contrast checker → · Palette generator →

#799C26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva