#799B2B#799B2B

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

Color values

HEX#799B2B
RGBrgb(121, 155, 43)
HSLhsl(78, 57%, 39%)
HSVhsv(78, 72%, 61%)
CMYKcmyk(21.9%, 0%, 72.3%, 39.2%)
CIE-LABlab(59.60, -28.26, 51.89)
CIE-LCHlch(59.60, 59.09, 118.57°)
OKLaboklab(64.21% -0.0816 0.1163)
OKLCHoklch(64.21% 0.142 125.1)
XYZxyz(20.0427, 27.6818, 6.5722)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B2B #4D2B9B
analogous
#9B852B #799B2B #419B2B
triadic
#799B2B #2B799B #9B2B79
tetradic
#799B2B #2B9B85 #4D2B9B #9B2B41
square
#799B2B #2B9B85 #4D2B9B #9B2B41
split-complementary
#799B2B #2B419B #852B9B
monochromatic
#2E3B10 #546B1E #799B2B #9DC93B #B5D66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799B2B#FFFFFF#000000##000000
##799B2B1.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)
#A49118
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#7F9385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b2b;
/* rgb */ color: rgb(121, 155, 43);
/* oklch */ color: oklch(64.2% 0.142 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b86c',
    500: '#799b2b',
    950: '#000000',
  },
}
SCSS
$custom: #799b2b;
$custom-light: #a3b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#799b2b",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 78.214,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64211,
    "c": 0.14208,
    "h": 125.1
  },
  "luminance": 0.27682
}

Semantic roles & 50–950 ramp

primary
#799B2B
secondary
#8065BC
accent
#48E076
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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