#799A2A#799A2A

#799A2A is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.141 H 124.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#799A2A
RGBrgb(121, 154, 42)
HSLhsl(78, 57%, 38%)
HSVhsv(78, 73%, 60%)
CMYKcmyk(21.4%, 0%, 72.7%, 39.6%)
CIE-LABlab(59.29, -27.83, 51.96)
CIE-LCHlch(59.29, 58.95, 118.18°)
OKLaboklab(63.96% -0.0806 0.1163)
OKLCHoklch(63.96% 0.141 124.7)
XYZxyz(19.8588, 27.3431, 6.4215)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A2A #4B2A9A
analogous
#9A832A #799A2A #419A2A
triadic
#799A2A #2A799A #9A2A79
tetradic
#799A2A #2A9A83 #4B2A9A #9A2A41
square
#799A2A #2A9A83 #4B2A9A #9A2A41
split-complementary
#799A2A #2A419A #832A9A
monochromatic
#2D3A10 #536A1D #799A2A #9EC938 #B6D668

Accessibility & contrast

On white

3.25
#799A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#799A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A2A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A2A#FFFFFF#000000##000000
##799A2A1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39016
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#7F9284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a2a;
/* rgb */ color: rgb(121, 154, 42);
/* oklch */ color: oklch(64.0% 0.141 124.7);
Tailwind
colors: {
  custom: {
    50: '#a3b86b',
    500: '#799a2a',
    950: '#000000',
  },
}
SCSS
$custom: #799a2a;
$custom-light: #a3b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#799a2a",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 77.679,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.14146,
    "h": 124.7
  },
  "luminance": 0.27343
}

Semantic roles & 50–950 ramp

primary
#799A2A
secondary
#7E63BC
accent
#47E074
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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