#4C8F2F#4C8F2F

#4C8F2F is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.5% C 0.147 H 137.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4C8F2F
RGBrgb(76, 143, 47)
HSLhsl(102, 51%, 37%)
HSVhsv(102, 67%, 56%)
CMYKcmyk(46.9%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.37, -39.32, 43.01)
CIE-LCHlch(53.37, 58.28, 132.43°)
OKLaboklab(58.48% -0.1086 0.099)
OKLCHoklch(58.48% 0.147 137.7)
XYZxyz(13.3156, 21.3858, 6.1150)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F2F #722F8F
analogous
#7C8F2F #4C8F2F #2F8F42
triadic
#4C8F2F #2F4C8F #8F2F4C
tetradic
#4C8F2F #2F7C8F #722F8F #8F422F
square
#4C8F2F #2F7C8F #722F8F #8F422F
split-complementary
#4C8F2F #422F8F #8F2F7C
monochromatic
#1B3311 #346120 #4C8F2F #64BD3E #88CE6A

Accessibility & contrast

On white

3.98
#4C8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4C8F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F2F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F2F#FFFFFF#000000##000000
##4C8F2F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#8B7D37
Tritanopia (blue-blind)
#488A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f2f;
/* rgb */ color: rgb(76, 143, 47);
/* oklch */ color: oklch(58.5% 0.147 137.7);
Tailwind
colors: {
  custom: {
    50: '#84b06c',
    500: '#4c8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f2f;
$custom-light: #84b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f2f",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 101.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.14693,
    "h": 137.7
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#4C8F2F
secondary
#9D65B5
accent
#4EDAB0
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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