#4A7A40#4A7A40

#4A7A40 is a mid, moderate green. Relative luminance 0.157; OKLCH L 53.0% C 0.101 H 140.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4A7A40
RGBrgb(74, 122, 64)
HSLhsl(110, 31%, 36%)
HSVhsv(110, 48%, 48%)
CMYKcmyk(39.3%, 0%, 47.5%, 52.2%)
CIE-LABlab(46.64, -28.50, 26.66)
CIE-LCHlch(46.64, 39.02, 136.91°)
OKLaboklab(53.02% -0.0779 0.0649)
OKLCHoklch(53.02% 0.101 140.2)
XYZxyz(10.7086, 15.7445, 7.3242)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7A40 #70407A
analogous
#677A40 #4A7A40 #407A53
triadic
#4A7A40 #404A7A #7A404A
tetradic
#4A7A40 #40677A #70407A #7A5340
square
#4A7A40 #40677A #70407A #7A5340
split-complementary
#4A7A40 #53407A #7A4067
monochromatic
#192A16 #32522B #4A7A40 #62A255 #86BA7B

Accessibility & contrast

On white

5.06
#4A7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4A7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7A40
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7A40#FFFFFF#000000##FFFFFF
##4A7A401.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#46776C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a7a40;
/* rgb */ color: rgb(74, 122, 64);
/* oklch */ color: oklch(53.0% 0.101 140.2);
Tailwind
colors: {
  custom: {
    50: '#7fa176',
    500: '#4a7a40',
    950: '#000000',
  },
}
SCSS
$custom: #4a7a40;
$custom-light: #7fa176;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7a40",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 109.655,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.10139,
    "h": 140.2
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#4A7A40
secondary
#9C72A4
accent
#60C7B6
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0F08
muted
#7C7E7B

Preview Lab

Preview with #4A7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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