#4C8A38#4C8A38

#4C8A38 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.3% C 0.132 H 138.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4C8A38
RGBrgb(76, 138, 56)
HSLhsl(105, 42%, 38%)
HSVhsv(105, 59%, 54%)
CMYKcmyk(44.9%, 0%, 59.4%, 45.9%)
CIE-LABlab(51.84, -36.22, 37.12)
CIE-LCHlch(51.84, 51.86, 134.30°)
OKLaboklab(57.25% -0.0995 0.0874)
OKLCHoklch(57.25% 0.132 138.7)
XYZxyz(12.7823, 19.9982, 6.9271)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A38 #76388A
analogous
#758A38 #4C8A38 #388A4D
triadic
#4C8A38 #384C8A #8A384C
tetradic
#4C8A38 #38758A #76388A #8A4D38
square
#4C8A38 #38758A #76388A #8A4D38
split-complementary
#4C8A38 #4D388A #8A3875
monochromatic
#1C3315 #345E26 #4C8A38 #64B54A #89C775

Accessibility & contrast

On white

4.20
#4C8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4C8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A38
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A38#FFFFFF#000000##000000
##4C8A381.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F30
Deuteranopia (green-blind)
#857A3E
Tritanopia (blue-blind)
#488678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8a38;
/* rgb */ color: rgb(76, 138, 56);
/* oklch */ color: oklch(57.3% 0.132 138.7);
Tailwind
colors: {
  custom: {
    50: '#83ac71',
    500: '#4c8a38',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a38;
$custom-light: #83ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a38",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 105.366,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.13246,
    "h": 138.7
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#4C8A38
secondary
#A06EB0
accent
#56D2B4
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #4C8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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