#799B42#799B42

#799B42 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.124 H 127.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#799B42
RGBrgb(121, 155, 66)
HSLhsl(83, 40%, 43%)
HSVhsv(83, 57%, 61%)
CMYKcmyk(21.9%, 0%, 57.4%, 39.2%)
CIE-LABlab(59.80, -26.43, 42.13)
CIE-LCHlch(59.80, 49.73, 122.10°)
OKLaboklab(64.44% -0.0745 0.0987)
OKLCHoklch(64.44% 0.124 127)
XYZxyz(20.5898, 27.9007, 9.4538)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B42 #64429B
analogous
#9B9042 #799B42 #4D9B42
triadic
#799B42 #42799B #9B4279
tetradic
#799B42 #429B90 #64429B #9B424D
square
#799B42 #429B90 #64429B #9B424D
split-complementary
#799B42 #424D9B #90429B
monochromatic
#36451D #577030 #799B42 #98BB5F #B4CD8A

Accessibility & contrast

On white

3.19
#799B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#799B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B42
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B42#FFFFFF#000000##000000
##799B421.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#9E8F48
Tritanopia (blue-blind)
#7D9487
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b42;
/* rgb */ color: rgb(121, 155, 66);
/* oklch */ color: oklch(64.4% 0.124 127.0);
Tailwind
colors: {
  custom: {
    50: '#a2b879',
    500: '#799b42',
    950: '#000000',
  },
}
SCSS
$custom: #799b42;
$custom-light: #a2b879;
$custom-dark: #000000;
JSON
{
  "hex": "#799b42",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 66
  },
  "hsl": {
    "h": 82.921,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.64436,
    "c": 0.12362,
    "h": 127
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#799B42
secondary
#9681B8
accent
#58D086
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799B42

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

Preview Lab → · Contrast checker → · Palette generator →

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