#799A3F#799A3F

#799A3F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.125 H 126.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#799A3F
RGBrgb(121, 154, 63)
HSLhsl(82, 42%, 43%)
HSVhsv(82, 59%, 60%)
CMYKcmyk(21.4%, 0%, 59.1%, 39.6%)
CIE-LABlab(59.47, -26.22, 43.17)
CIE-LCHlch(59.47, 50.51, 121.28°)
OKLaboklab(64.16% -0.0742 0.1006)
OKLCHoklch(64.16% 0.125 126.4)
XYZxyz(20.3380, 27.5348, 8.9449)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A3F #603F9A
analogous
#9A8D3F #799A3F #4C9A3F
triadic
#799A3F #3F799A #9A3F79
tetradic
#799A3F #3F9A8D #603F9A #9A3F4C
square
#799A3F #3F9A8D #603F9A #9A3F4C
split-complementary
#799A3F #3F4C9A #8D3F9A
monochromatic
#35431B #576F2D #799A3F #98BC5A #B4CD86

Accessibility & contrast

On white

3.23
#799A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#799A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A3F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A3F#FFFFFF#000000##000000
##799A3F1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29035
Deuteranopia (green-blind)
#9D8F45
Tritanopia (blue-blind)
#7D9386
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a3f;
/* rgb */ color: rgb(121, 154, 63);
/* oklch */ color: oklch(64.2% 0.125 126.4);
Tailwind
colors: {
  custom: {
    50: '#a2b877',
    500: '#799a3f',
    950: '#000000',
  },
}
SCSS
$custom: #799a3f;
$custom-light: #a2b877;
$custom-dark: #000000;
JSON
{
  "hex": "#799a3f",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 63
  },
  "hsl": {
    "h": 81.758,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.12498,
    "h": 126.4
  },
  "luminance": 0.27535
}

Semantic roles & 50–950 ramp

primary
#799A3F
secondary
#927DB8
accent
#56D283
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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