#4F8A42#4F8A42

#4F8A42 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.5% C 0.121 H 140.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F8A42
RGBrgb(79, 138, 66)
HSLhsl(109, 35%, 40%)
HSVhsv(109, 52%, 54%)
CMYKcmyk(42.8%, 0%, 52.2%, 45.9%)
CIE-LABlab(52.10, -33.97, 32.41)
CIE-LCHlch(52.10, 46.95, 136.35°)
OKLaboklab(57.55% -0.093 0.0779)
OKLCHoklch(57.55% 0.121 140.1)
XYZxyz(13.2958, 20.2318, 8.3577)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A42 #7D428A
analogous
#738A42 #4F8A42 #428A59
triadic
#4F8A42 #424F8A #8A424F
tetradic
#4F8A42 #42738A #7D428A #8A5942
square
#4F8A42 #42738A #7D428A #8A5942
split-complementary
#4F8A42 #59428A #8A4273
monochromatic
#20371A #37612E #4F8A42 #69B059 #8EC483

Accessibility & contrast

On white

4.16
#4F8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4F8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A42
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A42#FFFFFF#000000##000000
##4F8A421.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D803C
Deuteranopia (green-blind)
#857A47
Tritanopia (blue-blind)
#4A8679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a42;
/* rgb */ color: rgb(79, 138, 66);
/* oklch */ color: oklch(57.5% 0.121 140.1);
Tailwind
colors: {
  custom: {
    50: '#84ac78',
    500: '#4f8a42',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a42;
$custom-light: #84ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a42",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 109.167,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.12127,
    "h": 140.1
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#4F8A42
secondary
#A579AE
accent
#5CCBB7
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4F8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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