#799A2C#799A2C

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

Color values

HEX#799A2C
RGBrgb(121, 154, 44)
HSLhsl(78, 56%, 39%)
HSVhsv(78, 71%, 60%)
CMYKcmyk(21.4%, 0%, 71.4%, 39.6%)
CIE-LABlab(59.30, -27.71, 51.21)
CIE-LCHlch(59.30, 58.23, 118.42°)
OKLaboklab(63.97% -0.0801 0.115)
OKLCHoklch(63.97% 0.14 124.8)
XYZxyz(19.8955, 27.3578, 6.6148)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A2C #4D2C9A
analogous
#9A842C #799A2C #429A2C
triadic
#799A2C #2C799A #9A2C79
tetradic
#799A2C #2C9A84 #4D2C9A #9A2C42
square
#799A2C #2C9A84 #4D2C9A #9A2C42
split-complementary
#799A2C #2C429A #842C9A
monochromatic
#2E3B11 #546A1E #799A2C #9DC73C #B5D56C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799A2C#FFFFFF#000000##000000
##799A2C1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799a2c;
/* rgb */ color: rgb(121, 154, 44);
/* oklch */ color: oklch(64.0% 0.140 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b86c',
    500: '#799a2c',
    950: '#000000',
  },
}
SCSS
$custom: #799a2c;
$custom-light: #a3b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#799a2c",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 78,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63974,
    "c": 0.14012,
    "h": 124.8
  },
  "luminance": 0.27358
}

Semantic roles & 50–950 ramp

primary
#799A2C
secondary
#8066BC
accent
#49DF76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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