#4C8B2D#4C8B2D

#4C8B2D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.4% C 0.143 H 137.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4C8B2D
RGBrgb(76, 139, 45)
HSLhsl(100, 51%, 36%)
HSVhsv(100, 68%, 55%)
CMYKcmyk(45.3%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.05, -37.80, 42.47)
CIE-LCHlch(52.05, 56.85, 131.67°)
OKLaboklab(57.4% -0.1046 0.0976)
OKLCHoklch(57.4% 0.143 137)
XYZxyz(12.6864, 20.1904, 5.7108)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B2D #6C2D8B
analogous
#7B8B2D #4C8B2D #2D8B3D
triadic
#4C8B2D #2D4C8B #8B2D4C
tetradic
#4C8B2D #2D7B8B #6C2D8B #8B3D2D
square
#4C8B2D #2D7B8B #6C2D8B #8B3D2D
split-complementary
#4C8B2D #3D2D8B #8B2D7B
monochromatic
#192F0F #335D1E #4C8B2D #65B93C #87CD65

Accessibility & contrast

On white

4.17
#4C8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4C8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B2D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B2D#FFFFFF#000000##000000
##4C8B2D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F21
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#498678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b2d;
/* rgb */ color: rgb(76, 139, 45);
/* oklch */ color: oklch(57.4% 0.143 137.0);
Tailwind
colors: {
  custom: {
    50: '#83ad6b',
    500: '#4c8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b2d;
$custom-light: #83ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b2d",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 100.213,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.14306,
    "h": 137
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#4C8B2D
secondary
#9860B4
accent
#4DDBAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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