#799A2D#799A2D

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

Color values

HEX#799A2D
RGBrgb(121, 154, 45)
HSLhsl(78, 55%, 39%)
HSVhsv(78, 71%, 60%)
CMYKcmyk(21.4%, 0%, 70.8%, 39.6%)
CIE-LABlab(59.31, -27.65, 50.83)
CIE-LCHlch(59.31, 57.86, 118.54°)
OKLaboklab(63.98% -0.0798 0.1144)
OKLCHoklch(63.98% 0.139 124.9)
XYZxyz(19.9146, 27.3654, 6.7150)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A2D #4E2D9A
analogous
#9A852D #799A2D #439A2D
triadic
#799A2D #2D799A #9A2D79
tetradic
#799A2D #2D9A85 #4E2D9A #9A2D43
square
#799A2D #2D9A85 #4E2D9A #9A2D43
split-complementary
#799A2D #2D439A #852D9A
monochromatic
#2F3B11 #546B1F #799A2D #9DC73E #B5D46D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799A2D#FFFFFF#000000##000000
##799A2D1.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)
#A3901C
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a2d;
/* rgb */ color: rgb(121, 154, 45);
/* oklch */ color: oklch(64.0% 0.139 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b86d',
    500: '#799a2d',
    950: '#000000',
  },
}
SCSS
$custom: #799a2d;
$custom-light: #a3b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#799a2d",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 78.165,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.13944,
    "h": 124.9
  },
  "luminance": 0.27366
}

Semantic roles & 50–950 ramp

primary
#799A2D
secondary
#8167BB
accent
#4ADE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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