#4F8A38#4F8A38

#4F8A38 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.4% C 0.131 H 137.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F8A38
RGBrgb(79, 138, 56)
HSLhsl(103, 42%, 38%)
HSVhsv(103, 59%, 54%)
CMYKcmyk(42.8%, 0%, 59.4%, 45.9%)
CIE-LABlab(51.98, -35.22, 37.32)
CIE-LCHlch(51.98, 51.31, 133.34°)
OKLaboklab(57.41% -0.097 0.0878)
OKLCHoklch(57.41% 0.131 137.8)
XYZxyz(13.0263, 20.1240, 6.9386)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A38 #73388A
analogous
#788A38 #4F8A38 #388A4A
triadic
#4F8A38 #384F8A #8A384F
tetradic
#4F8A38 #38788A #73388A #8A4A38
square
#4F8A38 #38788A #73388A #8A4A38
split-complementary
#4F8A38 #4A388A #8A3878
monochromatic
#1D3315 #365E26 #4F8A38 #68B54A #8CC775

Accessibility & contrast

On white

4.18
#4F8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4F8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A38
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A38#FFFFFF#000000##000000
##4F8A381.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F30
Deuteranopia (green-blind)
#867A3E
Tritanopia (blue-blind)
#4C8578
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a38;
/* rgb */ color: rgb(79, 138, 56);
/* oklch */ color: oklch(57.4% 0.131 137.8);
Tailwind
colors: {
  custom: {
    50: '#85ac71',
    500: '#4f8a38',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a38;
$custom-light: #85ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a38",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 103.171,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.13081,
    "h": 137.8
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#4F8A38
secondary
#9D6EB0
accent
#56D2AF
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #4F8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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