#799B22#799B22

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

Color values

HEX#799B22
RGBrgb(121, 155, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 61%)
CMYKcmyk(21.9%, 0%, 78.1%, 39.2%)
CIE-LABlab(59.55, -28.76, 55.01)
CIE-LCHlch(59.55, 62.08, 117.60°)
OKLaboklab(64.15% -0.0838 0.1214)
OKLCHoklch(64.15% 0.147 124.6)
XYZxyz(19.8954, 27.6229, 5.7967)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B22 #44229B
analogous
#9B8122 #799B22 #3C9B22
triadic
#799B22 #22799B #9B2279
tetradic
#799B22 #229B81 #44229B #9B223C
square
#799B22 #229B81 #44229B #9B223C
split-complementary
#799B22 #223C9B #81229B
monochromatic
#2B370C #526917 #799B22 #A0CD2D #B8DB5C

Accessibility & contrast

On white

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

On black

6.52
#799B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B22
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B22#FFFFFF#000000##000000
##799B221.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49101
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b22;
/* rgb */ color: rgb(121, 155, 34);
/* oklch */ color: oklch(64.2% 0.147 124.6);
Tailwind
colors: {
  custom: {
    50: '#a3b868',
    500: '#799b22',
    950: '#000000',
  },
}
SCSS
$custom: #799b22;
$custom-light: #a3b868;
$custom-dark: #000000;
JSON
{
  "hex": "#799b22",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 76.86,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64151,
    "c": 0.14745,
    "h": 124.6
  },
  "luminance": 0.27623
}

Semantic roles & 50–950 ramp

primary
#799B22
secondary
#7659C0
accent
#41E76F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799B22

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

Preview Lab → · Contrast checker → · Palette generator →

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