#799E2B#799E2B

#799E2B is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 64.9% C 0.146 H 125.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#799E2B
RGBrgb(121, 158, 43)
HSLhsl(79, 57%, 39%)
HSVhsv(79, 73%, 62%)
CMYKcmyk(23.4%, 0%, 72.8%, 38%)
CIE-LABlab(60.51, -29.69, 52.79)
CIE-LCHlch(60.51, 60.57, 119.36°)
OKLaboklab(64.95% -0.0856 0.1182)
OKLCHoklch(64.95% 0.146 125.9)
XYZxyz(20.5482, 28.6928, 6.7407)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E2B #502B9E
analogous
#9E8A2B #799E2B #409E2B
triadic
#799E2B #2B799E #9E2B79
tetradic
#799E2B #2B9E8A #502B9E #9E2B40
square
#799E2B #2B9E8A #502B9E #9E2B40
split-complementary
#799E2B #2B409E #8A2B9E
monochromatic
#2F3E11 #546E1E #799E2B #9CCA3C #B5D76C

Accessibility & contrast

On white

3.12
#799E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#799E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E2B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E2B#FFFFFF#000000##000000
##799E2B1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79316
Deuteranopia (green-blind)
#A29135
Tritanopia (blue-blind)
#7E9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e2b;
/* rgb */ color: rgb(121, 158, 43);
/* oklch */ color: oklch(64.9% 0.146 125.9);
Tailwind
colors: {
  custom: {
    50: '#a3ba6c',
    500: '#799e2b',
    950: '#000000',
  },
}
SCSS
$custom: #799e2b;
$custom-light: #a3ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#799e2b",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 79.304,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64948,
    "c": 0.14591,
    "h": 125.9
  },
  "luminance": 0.28693
}

Semantic roles & 50–950 ramp

primary
#799E2B
secondary
#8367BE
accent
#47E079
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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