#4E9B31#4E9B31

#4E9B31 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.8% C 0.160 H 138.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4E9B31
RGBrgb(78, 155, 49)
HSLhsl(104, 52%, 40%)
HSVhsv(104, 68%, 61%)
CMYKcmyk(49.7%, 0%, 68.4%, 39.2%)
CIE-LABlab(57.35, -43.48, 46.45)
CIE-LCHlch(57.35, 63.63, 133.11°)
OKLaboklab(61.78% -0.1199 0.1064)
OKLCHoklch(61.78% 0.16 138.4)
XYZxyz(15.4171, 25.2831, 6.9729)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9B31 #7E319B
analogous
#839B31 #4E9B31 #319B49
triadic
#4E9B31 #314E9B #9B314E
tetradic
#4E9B31 #31839B #7E319B #9B4931
square
#4E9B31 #31839B #7E319B #9B4931
split-complementary
#4E9B31 #49319B #9B3183
monochromatic
#1F3E14 #376D22 #4E9B31 #68C445 #8ED373

Accessibility & contrast

On white

3.47
#4E9B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#4E9B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9B31
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9B31#FFFFFF#000000##000000
##4E9B311.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E22
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#489685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4e9b31;
/* rgb */ color: rgb(78, 155, 49);
/* oklch */ color: oklch(61.8% 0.160 138.4);
Tailwind
colors: {
  custom: {
    50: '#87b96f',
    500: '#4e9b31',
    950: '#000000',
  },
}
SCSS
$custom: #4e9b31;
$custom-light: #87b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9b31",
  "rgb": {
    "r": 78,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 103.585,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.16032,
    "h": 138.4
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#4E9B31
secondary
#A66DBB
accent
#4CDBB4
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #4E9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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