#799B45#799B45

#799B45 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.5% C 0.121 H 127.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#799B45
RGBrgb(121, 155, 69)
HSLhsl(84, 38%, 44%)
HSVhsv(84, 55%, 61%)
CMYKcmyk(21.9%, 0%, 55.5%, 39.2%)
CIE-LABlab(59.83, -26.13, 40.71)
CIE-LCHlch(59.83, 48.38, 122.69°)
OKLaboklab(64.47% -0.0734 0.0959)
OKLCHoklch(64.47% 0.121 127.4)
XYZxyz(20.6806, 27.9370, 9.9319)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B45 #67459B
analogous
#9B9245 #799B45 #4E9B45
triadic
#799B45 #45799B #9B4579
tetradic
#799B45 #459B92 #67459B #9B454E
square
#799B45 #459B92 #67459B #9B454E
split-complementary
#799B45 #454E9B #92459B
monochromatic
#37461F #587132 #799B45 #98BA63 #B4CD8E

Accessibility & contrast

On white

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

On black

6.59
#799B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B45
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B45#FFFFFF#000000##000000
##799B451.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2923D
Deuteranopia (green-blind)
#9D904B
Tritanopia (blue-blind)
#7D9588
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b45;
/* rgb */ color: rgb(121, 155, 69);
/* oklch */ color: oklch(64.5% 0.121 127.4);
Tailwind
colors: {
  custom: {
    50: '#a2b87b',
    500: '#799b45',
    950: '#000000',
  },
}
SCSS
$custom: #799b45;
$custom-light: #a2b87b;
$custom-dark: #000000;
JSON
{
  "hex": "#799b45",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 69
  },
  "hsl": {
    "h": 83.721,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.12077,
    "h": 127.4
  },
  "luminance": 0.27937
}

Semantic roles & 50–950 ramp

primary
#799B45
secondary
#9884B8
accent
#59CE88
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799B45

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

Preview Lab → · Contrast checker → · Palette generator →

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