#799A2B#799A2B

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

Color values

HEX#799A2B
RGBrgb(121, 154, 43)
HSLhsl(78, 56%, 39%)
HSVhsv(78, 72%, 60%)
CMYKcmyk(21.4%, 0%, 72.1%, 39.6%)
CIE-LABlab(59.30, -27.77, 51.59)
CIE-LCHlch(59.30, 58.59, 118.30°)
OKLaboklab(63.97% -0.0803 0.1156)
OKLCHoklch(63.97% 0.141 124.8)
XYZxyz(19.8770, 27.3504, 6.5170)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A2B #4C2B9A
analogous
#9A832B #799A2B #419A2B
triadic
#799A2B #2B799A #9A2B79
tetradic
#799A2B #2B9A83 #4C2B9A #9A2B41
square
#799A2B #2B9A83 #4C2B9A #9A2B41
split-complementary
#799A2B #2B419A #832B9A
monochromatic
#2E3A10 #536A1E #799A2B #9EC83A #B5D56A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799A2B#FFFFFF#000000##000000
##799A2B1.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)
#A39018
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#7F9284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a2b;
/* rgb */ color: rgb(121, 154, 43);
/* oklch */ color: oklch(64.0% 0.141 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b86c',
    500: '#799a2b',
    950: '#000000',
  },
}
SCSS
$custom: #799a2b;
$custom-light: #a3b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#799a2b",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 77.838,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.1408,
    "h": 124.8
  },
  "luminance": 0.27351
}

Semantic roles & 50–950 ramp

primary
#799A2B
secondary
#7F65BC
accent
#48E075
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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