#799B26#799B26

#799B26 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.145 H 124.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#799B26
RGBrgb(121, 155, 38)
HSLhsl(77, 61%, 38%)
HSVhsv(77, 75%, 61%)
CMYKcmyk(21.9%, 0%, 75.5%, 39.2%)
CIE-LABlab(59.57, -28.55, 53.69)
CIE-LCHlch(59.57, 60.80, 118.00°)
OKLaboklab(64.18% -0.0829 0.1192)
OKLCHoklch(64.18% 0.145 124.8)
XYZxyz(19.9565, 27.6474, 6.1184)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B26 #48269B
analogous
#9B8226 #799B26 #3E9B26
triadic
#799B26 #26799B #9B2679
tetradic
#799B26 #269B82 #48269B #9B263E
square
#799B26 #269B82 #48269B #9B263E
split-complementary
#799B26 #263E9B #82269B
monochromatic
#2C390E #536A1A #799B26 #9FCC32 #B6D963

Accessibility & contrast

On white

3.22
#799B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#799B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B26
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B26#FFFFFF#000000##000000
##799B261.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910D
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#7F9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b26;
/* rgb */ color: rgb(121, 155, 38);
/* oklch */ color: oklch(64.2% 0.145 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b869',
    500: '#799b26',
    950: '#000000',
  },
}
SCSS
$custom: #799b26;
$custom-light: #a3b869;
$custom-dark: #000000;
JSON
{
  "hex": "#799b26",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 38
  },
  "hsl": {
    "h": 77.436,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64176,
    "c": 0.1452,
    "h": 124.8
  },
  "luminance": 0.27648
}

Semantic roles & 50–950 ramp

primary
#799B26
secondary
#7A5FBE
accent
#44E472
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B26

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

Preview Lab → · Contrast checker → · Palette generator →

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