#799B2D#799B2D

#799B2D is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.141 H 125.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#799B2D
RGBrgb(121, 155, 45)
HSLhsl(79, 55%, 39%)
HSVhsv(79, 71%, 61%)
CMYKcmyk(21.9%, 0%, 71%, 39.2%)
CIE-LABlab(59.61, -28.13, 51.13)
CIE-LCHlch(59.61, 58.36, 118.82°)
OKLaboklab(64.23% -0.0811 0.115)
OKLCHoklch(64.23% 0.141 125.2)
XYZxyz(20.0803, 27.6969, 6.7702)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B2D #4F2D9B
analogous
#9B862D #799B2D #429B2D
triadic
#799B2D #2D799B #9B2D79
tetradic
#799B2D #2D9B86 #4F2D9B #9B2D42
square
#799B2D #2D9B86 #4F2D9B #9B2D42
split-complementary
#799B2D #2D429B #862D9B
monochromatic
#2F3C11 #546C1F #799B2D #9DC73E #B5D56E

Accessibility & contrast

On white

3.21
#799B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#799B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B2D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B2D#FFFFFF#000000##000000
##799B2D1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911B
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b2d;
/* rgb */ color: rgb(121, 155, 45);
/* oklch */ color: oklch(64.2% 0.141 125.2);
Tailwind
colors: {
  custom: {
    50: '#a3b86d',
    500: '#799b2d',
    950: '#000000',
  },
}
SCSS
$custom: #799b2d;
$custom-light: #a3b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#799b2d",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 78.545,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64227,
    "c": 0.14073,
    "h": 125.2
  },
  "luminance": 0.27697
}

Semantic roles & 50–950 ramp

primary
#799B2D
secondary
#8268BC
accent
#49DE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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