#4F8D45#4F8D45

#4F8D45 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.4% C 0.123 H 141.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F8D45
RGBrgb(79, 141, 69)
HSLhsl(112, 34%, 41%)
HSVhsv(112, 51%, 55%)
CMYKcmyk(44%, 0%, 51.1%, 44.7%)
CIE-LABlab(53.10, -34.92, 32.08)
CIE-LCHlch(53.10, 47.42, 137.42°)
OKLaboklab(58.38% -0.0954 0.0773)
OKLCHoklch(58.38% 0.123 141)
XYZxyz(13.8229, 21.1408, 8.9813)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D45 #83458D
analogous
#738D45 #4F8D45 #458D5F
triadic
#4F8D45 #454F8D #8D454F
tetradic
#4F8D45 #45738D #83458D #8D5F45
square
#4F8D45 #45738D #83458D #8D5F45
split-complementary
#4F8D45 #5F458D #8D4573
monochromatic
#213B1D #386431 #4F8D45 #6AB15F #90C588

Accessibility & contrast

On white

4.02
#4F8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4F8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D45
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D45#FFFFFF#000000##000000
##4F8D451.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#887D4A
Tritanopia (blue-blind)
#49897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8d45;
/* rgb */ color: rgb(79, 141, 69);
/* oklch */ color: oklch(58.4% 0.123 141.0);
Tailwind
colors: {
  custom: {
    50: '#84af7a',
    500: '#4f8d45',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d45;
$custom-light: #84af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d45",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 111.667,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.12281,
    "h": 141
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#4F8D45
secondary
#A97EB0
accent
#5DCABB
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4F8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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