#4C8D31#4C8D31

#4C8D31 is a mid, vivid green. Relative luminance 0.208; OKLCH L 58.0% C 0.143 H 137.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C8D31
RGBrgb(76, 141, 49)
HSLhsl(102, 48%, 37%)
HSVhsv(102, 65%, 55%)
CMYKcmyk(46.1%, 0%, 65.2%, 44.7%)
CIE-LABlab(52.74, -38.28, 41.43)
CIE-LCHlch(52.74, 56.41, 132.73°)
OKLaboklab(57.97% -0.1056 0.0959)
OKLCHoklch(57.97% 0.143 137.8)
XYZxyz(13.0593, 20.8072, 6.2332)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D31 #72318D
analogous
#7A8D31 #4C8D31 #318D44
triadic
#4C8D31 #314C8D #8D314C
tetradic
#4C8D31 #317A8D #72318D #8D4431
square
#4C8D31 #317A8D #72318D #8D4431
split-complementary
#4C8D31 #44318D #8D317A
monochromatic
#1B3211 #346021 #4C8D31 #64BA41 #88CC6C

Accessibility & contrast

On white

4.07
#4C8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4C8D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D31
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D31#FFFFFF#000000##000000
##4C8D311.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#48887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d31;
/* rgb */ color: rgb(76, 141, 49);
/* oklch */ color: oklch(58.0% 0.143 137.8);
Tailwind
colors: {
  custom: {
    50: '#83af6d',
    500: '#4c8d31',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d31;
$custom-light: #83af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d31",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 102.391,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.14264,
    "h": 137.8
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#4C8D31
secondary
#9D66B4
accent
#50D8B0
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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