#799A45#799A45

#799A45 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.119 H 127.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#799A45
RGBrgb(121, 154, 69)
HSLhsl(83, 38%, 44%)
HSVhsv(83, 55%, 60%)
CMYKcmyk(21.4%, 0%, 55.2%, 39.6%)
CIE-LABlab(59.53, -25.64, 40.36)
CIE-LCHlch(59.53, 47.82, 122.42°)
OKLaboklab(64.23% -0.072 0.0952)
OKLCHoklch(64.23% 0.119 127.1)
XYZxyz(20.5149, 27.6055, 9.8767)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A45 #66459A
analogous
#9A9045 #799A45 #4E9A45
triadic
#799A45 #45799A #9A4579
tetradic
#799A45 #459A90 #66459A #9A454E
square
#799A45 #459A90 #66459A #9A454E
split-complementary
#799A45 #454E9A #90459A
monochromatic
#37451F #587032 #799A45 #98B963 #B4CC8D

Accessibility & contrast

On white

3.22
#799A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#799A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A45
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A45#FFFFFF#000000##000000
##799A451.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1913D
Deuteranopia (green-blind)
#9C8F4A
Tritanopia (blue-blind)
#7D9487
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a45;
/* rgb */ color: rgb(121, 154, 69);
/* oklch */ color: oklch(64.2% 0.119 127.1);
Tailwind
colors: {
  custom: {
    50: '#a2b87b',
    500: '#799a45',
    950: '#000000',
  },
}
SCSS
$custom: #799a45;
$custom-light: #a2b87b;
$custom-dark: #000000;
JSON
{
  "hex": "#799a45",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 69
  },
  "hsl": {
    "h": 83.294,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.11933,
    "h": 127.1
  },
  "luminance": 0.27606
}

Semantic roles & 50–950 ramp

primary
#799A45
secondary
#9883B7
accent
#5ACE87
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799A45

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

Preview Lab → · Contrast checker → · Palette generator →

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