#4F7A42#4F7A42

#4F7A42 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.3% C 0.096 H 138.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4F7A42
RGBrgb(79, 122, 66)
HSLhsl(106, 30%, 37%)
HSVhsv(106, 46%, 48%)
CMYKcmyk(35.2%, 0%, 45.9%, 52.2%)
CIE-LABlab(46.94, -26.41, 26.00)
CIE-LCHlch(46.94, 37.06, 135.45°)
OKLaboklab(53.35% -0.0723 0.0635)
OKLCHoklch(53.35% 0.096 138.7)
XYZxyz(11.1670, 15.9742, 7.6481)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A42 #6D427A
analogous
#6B7A42 #4F7A42 #427A51
triadic
#4F7A42 #424F7A #7A424F
tetradic
#4F7A42 #426B7A #6D427A #7A5142
square
#4F7A42 #426B7A #6D427A #7A5142
split-complementary
#4F7A42 #51427A #7A426B
monochromatic
#1C2B17 #35522D #4F7A42 #69A257 #8BB97D

Accessibility & contrast

On white

5.01
#4F7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4F7A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7A42
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A42#FFFFFF#000000##FFFFFF
##4F7A421.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#4D776D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7a42;
/* rgb */ color: rgb(79, 122, 66);
/* oklch */ color: oklch(53.3% 0.096 138.7);
Tailwind
colors: {
  custom: {
    50: '#82a077',
    500: '#4f7a42',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a42;
$custom-light: #82a077;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a42",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 106.071,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.09618,
    "h": 138.7
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#4F7A42
secondary
#9974A4
accent
#62C6AF
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F09
muted
#7C7E7B

Preview Lab

Preview with #4F7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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