#799A2E#799A2E

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

Color values

HEX#799A2E
RGBrgb(121, 154, 46)
HSLhsl(78, 54%, 39%)
HSVhsv(78, 70%, 60%)
CMYKcmyk(21.4%, 0%, 70.1%, 39.6%)
CIE-LABlab(59.32, -27.58, 50.44)
CIE-LCHlch(59.32, 57.49, 118.67°)
OKLaboklab(63.99% -0.0795 0.1137)
OKLCHoklch(63.99% 0.139 125)
XYZxyz(19.9340, 27.3732, 6.8176)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A2E #4F2E9A
analogous
#9A852E #799A2E #439A2E
triadic
#799A2E #2E799A #9A2E79
tetradic
#799A2E #2E9A85 #4F2E9A #9A2E43
square
#799A2E #2E9A85 #4F2E9A #9A2E43
split-complementary
#799A2E #2E439A #852E9A
monochromatic
#2F3C12 #546B20 #799A2E #9DC63F #B5D46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799A2E#FFFFFF#000000##000000
##799A2E1.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)
#A2901D
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#7E9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a2e;
/* rgb */ color: rgb(121, 154, 46);
/* oklch */ color: oklch(64.0% 0.139 125.0);
Tailwind
colors: {
  custom: {
    50: '#a3b86d',
    500: '#799a2e',
    950: '#000000',
  },
}
SCSS
$custom: #799a2e;
$custom-light: #a3b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#799a2e",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 78.333,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.13875,
    "h": 125
  },
  "luminance": 0.27373
}

Semantic roles & 50–950 ramp

primary
#799A2E
secondary
#8269BB
accent
#4ADD77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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