#799D26#799D26

#799D26 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.148 H 125.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#799D26
RGBrgb(121, 157, 38)
HSLhsl(78, 61%, 38%)
HSVhsv(78, 76%, 62%)
CMYKcmyk(22.9%, 0%, 75.8%, 38.4%)
CIE-LABlab(60.18, -29.51, 54.27)
CIE-LCHlch(60.18, 61.77, 118.53°)
OKLaboklab(64.67% -0.0855 0.1204)
OKLCHoklch(64.67% 0.148 125.4)
XYZxyz(20.2921, 28.3186, 6.2303)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D26 #4A269D
analogous
#9D8526 #799D26 #3D9D26
triadic
#799D26 #26799D #9D2679
tetradic
#799D26 #269D85 #4A269D #9D263D
square
#799D26 #269D85 #4A269D #9D263D
split-complementary
#799D26 #263D9D #85269D
monochromatic
#2D3A0E #536C1A #799D26 #9FCE33 #B6D964

Accessibility & contrast

On white

3.15
#799D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#799D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D26
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D26#FFFFFF#000000##000000
##799D261.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920B
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d26;
/* rgb */ color: rgb(121, 157, 38);
/* oklch */ color: oklch(64.7% 0.148 125.4);
Tailwind
colors: {
  custom: {
    50: '#a3ba6a',
    500: '#799d26',
    950: '#000000',
  },
}
SCSS
$custom: #799d26;
$custom-light: #a3ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#799d26",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 78.151,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.1477,
    "h": 125.4
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#799D26
secondary
#7D60BF
accent
#44E474
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799D26

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

Preview Lab → · Contrast checker → · Palette generator →

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