#4E8131#4E8131

#4E8131 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.125 H 135.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E8131
RGBrgb(78, 129, 49)
HSLhsl(98, 45%, 35%)
HSVhsv(98, 62%, 51%)
CMYKcmyk(39.5%, 0%, 62%, 49.4%)
CIE-LABlab(48.94, -32.26, 37.22)
CIE-LCHlch(48.94, 49.25, 130.92°)
OKLaboklab(54.89% -0.0894 0.0869)
OKLCHoklch(54.89% 0.125 135.8)
XYZxyz(11.5462, 17.5414, 5.6826)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8131 #643181
analogous
#768131 #4E8131 #31813C
triadic
#4E8131 #314E81 #81314E
tetradic
#4E8131 #317681 #643181 #813C31
square
#4E8131 #317681 #643181 #813C31
split-complementary
#4E8131 #3C3181 #813176
monochromatic
#18280F #335520 #4E8131 #69AD42 #89C567

Accessibility & contrast

On white

4.66
#4E8131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4E8131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8131
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8131#FFFFFF#000000##FFFFFF
##4E81311.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7E7337
Tritanopia (blue-blind)
#4D7C70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8131;
/* rgb */ color: rgb(78, 129, 49);
/* oklch */ color: oklch(54.9% 0.125 135.8);
Tailwind
colors: {
  custom: {
    50: '#83a66c',
    500: '#4e8131',
    950: '#000000',
  },
}
SCSS
$custom: #4e8131;
$custom-light: #83a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8131",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 98.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.12463,
    "h": 135.8
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#4E8131
secondary
#9161AD
accent
#53D5A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E8131

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

Preview Lab → · Contrast checker → · Palette generator →

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