#4A7940#4A7940

#4A7940 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.8% C 0.100 H 140.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A7940
RGBrgb(74, 121, 64)
HSLhsl(109, 31%, 36%)
HSVhsv(109, 47%, 47%)
CMYKcmyk(38.8%, 0%, 47.1%, 52.5%)
CIE-LABlab(46.31, -28.02, 26.25)
CIE-LCHlch(46.31, 38.39, 136.87°)
OKLaboklab(52.75% -0.0766 0.064)
OKLCHoklch(52.75% 0.1 140.1)
XYZxyz(10.5864, 15.5002, 7.2835)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7940 #6F4079
analogous
#677940 #4A7940 #407953
triadic
#4A7940 #404A79 #79404A
tetradic
#4A7940 #406779 #6F4079 #795340
square
#4A7940 #406779 #6F4079 #795340
split-complementary
#4A7940 #534079 #794067
monochromatic
#192916 #32512B #4A7940 #62A155 #85B97A

Accessibility & contrast

On white

5.12
#4A7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4A7940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7940
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7940#FFFFFF#000000##FFFFFF
##4A79401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703C
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#47766B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a7940;
/* rgb */ color: rgb(74, 121, 64);
/* oklch */ color: oklch(52.8% 0.100 140.1);
Tailwind
colors: {
  custom: {
    50: '#7fa076',
    500: '#4a7940',
    950: '#000000',
  },
}
SCSS
$custom: #4a7940;
$custom-light: #7fa076;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7940",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 109.474,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.09978,
    "h": 140.1
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#4A7940
secondary
#9B71A4
accent
#61C7B5
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4A7940

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

Preview Lab → · Contrast checker → · Palette generator →

#4A7940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva