#799D2E#799D2E

#799D2E is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.7% C 0.143 H 125.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#799D2E
RGBrgb(121, 157, 46)
HSLhsl(79, 55%, 40%)
HSVhsv(79, 71%, 62%)
CMYKcmyk(22.9%, 0%, 70.7%, 38.4%)
CIE-LABlab(60.23, -29.03, 51.36)
CIE-LCHlch(60.23, 59.00, 119.47°)
OKLaboklab(64.72% -0.0835 0.1156)
OKLCHoklch(64.72% 0.143 125.8)
XYZxyz(20.4354, 28.3759, 6.9847)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D2E #522E9D
analogous
#9D892E #799D2E #429D2E
triadic
#799D2E #2E799D #9D2E79
tetradic
#799D2E #2E9D89 #522E9D #9D2E42
square
#799D2E #2E9D89 #522E9D #9D2E42
split-complementary
#799D2E #2E429D #892E9D
monochromatic
#303E12 #556E20 #799D2E #9CC741 #B4D570

Accessibility & contrast

On white

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

On black

6.68
#799D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D2E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D2E#FFFFFF#000000##000000
##799D2E1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5931C
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d2e;
/* rgb */ color: rgb(121, 157, 46);
/* oklch */ color: oklch(64.7% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#a3ba6e',
    500: '#799d2e',
    950: '#000000',
  },
}
SCSS
$custom: #799d2e;
$custom-light: #a3ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#799d2e",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 79.459,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64725,
    "c": 0.14263,
    "h": 125.8
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#799D2E
secondary
#856ABD
accent
#4ADE7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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