#799B2E#799B2E

#799B2E is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.140 H 125.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#799B2E
RGBrgb(121, 155, 46)
HSLhsl(79, 54%, 39%)
HSVhsv(79, 70%, 61%)
CMYKcmyk(21.9%, 0%, 70.3%, 39.2%)
CIE-LABlab(59.62, -28.06, 50.75)
CIE-LCHlch(59.62, 57.99, 118.94°)
OKLaboklab(64.24% -0.0808 0.1143)
OKLCHoklch(64.24% 0.14 125.3)
XYZxyz(20.0998, 27.7047, 6.8728)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B2E #502E9B
analogous
#9B872E #799B2E #429B2E
triadic
#799B2E #2E799B #9B2E79
tetradic
#799B2E #2E9B87 #502E9B #9B2E42
square
#799B2E #2E9B87 #502E9B #9B2E42
split-complementary
#799B2E #2E429B #872E9B
monochromatic
#2F3D12 #546C20 #799B2E #9CC640 #B5D46F

Accessibility & contrast

On white

3.21
#799B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#799B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B2E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B2E#FFFFFF#000000##000000
##799B2E1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911D
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b2e;
/* rgb */ color: rgb(121, 155, 46);
/* oklch */ color: oklch(64.2% 0.140 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3b86d',
    500: '#799b2e',
    950: '#000000',
  },
}
SCSS
$custom: #799b2e;
$custom-light: #a3b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#799b2e",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 78.716,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.14004,
    "h": 125.3
  },
  "luminance": 0.27705
}

Semantic roles & 50–950 ramp

primary
#799B2E
secondary
#8369BC
accent
#4ADE78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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