#4F8A40#4F8A40

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

Color values

HEX#4F8A40
RGBrgb(79, 138, 64)
HSLhsl(108, 37%, 40%)
HSVhsv(108, 54%, 54%)
CMYKcmyk(42.8%, 0%, 53.6%, 45.9%)
CIE-LABlab(52.07, -34.24, 33.42)
CIE-LCHlch(52.07, 47.84, 135.70°)
OKLaboklab(57.52% -0.0938 0.0799)
OKLCHoklch(57.52% 0.123 139.6)
XYZxyz(13.2379, 20.2086, 8.0526)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A40 #7B408A
analogous
#748A40 #4F8A40 #408A56
triadic
#4F8A40 #404F8A #8A404F
tetradic
#4F8A40 #40748A #7B408A #8A5640
square
#4F8A40 #40748A #7B408A #8A5640
split-complementary
#4F8A40 #56408A #8A4074
monochromatic
#1F3619 #37602D #4F8A40 #69B156 #8EC480

Accessibility & contrast

On white

4.17
#4F8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A40
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A40#FFFFFF#000000##000000
##4F8A401.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F39
Deuteranopia (green-blind)
#857A45
Tritanopia (blue-blind)
#4B8679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a40;
/* rgb */ color: rgb(79, 138, 64);
/* oklch */ color: oklch(57.5% 0.123 139.6);
Tailwind
colors: {
  custom: {
    50: '#84ac77',
    500: '#4f8a40',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a40;
$custom-light: #84ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a40",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 107.838,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57517,
    "c": 0.12325,
    "h": 139.6
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#4F8A40
secondary
#A377AF
accent
#5BCDB6
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4F8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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