#4C8B2F#4C8B2F

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

Color values

HEX#4C8B2F
RGBrgb(76, 139, 47)
HSLhsl(101, 49%, 36%)
HSVhsv(101, 66%, 55%)
CMYKcmyk(45.3%, 0%, 66.2%, 45.5%)
CIE-LABlab(52.07, -37.61, 41.60)
CIE-LCHlch(52.07, 56.08, 132.12°)
OKLaboklab(57.42% -0.104 0.096)
OKLCHoklch(57.42% 0.142 137.3)
XYZxyz(12.7258, 20.2062, 5.9184)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B2F #6E2F8B
analogous
#7A8B2F #4C8B2F #2F8B40
triadic
#4C8B2F #2F4C8B #8B2F4C
tetradic
#4C8B2F #2F7A8B #6E2F8B #8B402F
square
#4C8B2F #2F7A8B #6E2F8B #8B402F
split-complementary
#4C8B2F #402F8B #8B2F7A
monochromatic
#1A3010 #335D20 #4C8B2F #65B93E #88CC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8B2F#FFFFFF#000000##000000
##4C8B2F1.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)
#908023
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#498678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b2f;
/* rgb */ color: rgb(76, 139, 47);
/* oklch */ color: oklch(57.4% 0.141 137.3);
Tailwind
colors: {
  custom: {
    50: '#83ad6c',
    500: '#4c8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b2f;
$custom-light: #83ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b2f",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 101.087,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.1415,
    "h": 137.3
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#4C8B2F
secondary
#9A63B3
accent
#4FD9AD
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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