#4C8239#4C8239

#4C8239 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.1% C 0.120 H 138.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4C8239
RGBrgb(76, 130, 57)
HSLhsl(104, 39%, 37%)
HSVhsv(104, 56%, 51%)
CMYKcmyk(41.5%, 0%, 56.2%, 49%)
CIE-LABlab(49.25, -32.51, 33.58)
CIE-LCHlch(49.25, 46.74, 134.07°)
OKLaboklab(55.14% -0.0893 0.0798)
OKLCHoklch(55.14% 0.12 138.2)
XYZxyz(11.7013, 17.7965, 6.6886)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8239 #6F3982
analogous
#718239 #4C8239 #39824B
triadic
#4C8239 #394C82 #82394C
tetradic
#4C8239 #397182 #6F3982 #824B39
square
#4C8239 #397182 #6F3982 #824B39
split-complementary
#4C8239 #4B3982 #823971
monochromatic
#1A2D14 #335726 #4C8239 #65AD4C #88C274

Accessibility & contrast

On white

4.61
#4C8239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4C8239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8239
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8239#FFFFFF#000000##FFFFFF
##4C82391.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867832
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#497E72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8239;
/* rgb */ color: rgb(76, 130, 57);
/* oklch */ color: oklch(55.1% 0.120 138.2);
Tailwind
colors: {
  custom: {
    50: '#82a771',
    500: '#4c8239',
    950: '#000000',
  },
}
SCSS
$custom: #4c8239;
$custom-light: #82a771;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8239",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 104.384,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.1198,
    "h": 138.2
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#4C8239
secondary
#9B6CAB
accent
#59CFB0
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #4C8239

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

Preview Lab → · Contrast checker → · Palette generator →

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