#799A2F#799A2F

#799A2F is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.138 H 125.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#799A2F
RGBrgb(121, 154, 47)
HSLhsl(79, 53%, 39%)
HSVhsv(79, 69%, 60%)
CMYKcmyk(21.4%, 0%, 69.5%, 39.6%)
CIE-LABlab(59.33, -27.51, 50.05)
CIE-LCHlch(59.33, 57.11, 118.80°)
OKLaboklab(64% -0.0792 0.113)
OKLCHoklch(64% 0.138 125)
XYZxyz(19.9540, 27.3812, 6.9226)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A2F #502F9A
analogous
#9A862F #799A2F #439A2F
triadic
#799A2F #2F799A #9A2F79
tetradic
#799A2F #2F9A86 #502F9A #9A2F43
square
#799A2F #2F9A86 #502F9A #9A2F43
split-complementary
#799A2F #2F439A #862F9A
monochromatic
#2F3C12 #546B21 #799A2F #9CC541 #B5D370

Accessibility & contrast

On white

3.24
#799A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#799A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A2F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A2F#FFFFFF#000000##000000
##799A2F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901F
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#7E9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a2f;
/* rgb */ color: rgb(121, 154, 47);
/* oklch */ color: oklch(64.0% 0.138 125.0);
Tailwind
colors: {
  custom: {
    50: '#a3b86e',
    500: '#799a2f',
    950: '#000000',
  },
}
SCSS
$custom: #799a2f;
$custom-light: #a3b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#799a2f",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 78.505,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.13804,
    "h": 125
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#799A2F
secondary
#836ABB
accent
#4BDD78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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