#4C8A31#4C8A31

#4C8A31 is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.2% C 0.139 H 137.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4C8A31
RGBrgb(76, 138, 49)
HSLhsl(102, 48%, 37%)
HSVhsv(102, 64%, 54%)
CMYKcmyk(44.9%, 0%, 64.5%, 45.9%)
CIE-LABlab(51.76, -36.98, 40.36)
CIE-LCHlch(51.76, 54.74, 132.50°)
OKLaboklab(57.17% -0.1021 0.0936)
OKLCHoklch(57.17% 0.139 137.5)
XYZxyz(12.6230, 19.9344, 6.0877)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A31 #6F318A
analogous
#798A31 #4C8A31 #318A43
triadic
#4C8A31 #314C8A #8A314C
tetradic
#4C8A31 #31798A #6F318A #8A4331
square
#4C8A31 #31798A #6F318A #8A4331
split-complementary
#4C8A31 #43318A #8A3179
monochromatic
#1A3011 #335D21 #4C8A31 #65B741 #88CA6B

Accessibility & contrast

On white

4.21
#4C8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4C8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A31
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A31#FFFFFF#000000##000000
##4C8A311.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#498577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a31;
/* rgb */ color: rgb(76, 138, 49);
/* oklch */ color: oklch(57.2% 0.139 137.5);
Tailwind
colors: {
  custom: {
    50: '#83ad6d',
    500: '#4c8a31',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a31;
$custom-light: #83ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a31",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 101.798,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.13851,
    "h": 137.5
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#4C8A31
secondary
#9B65B2
accent
#51D7AE
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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