#4E8731#4E8731

#4E8731 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.5% C 0.133 H 136.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E8731
RGBrgb(78, 135, 49)
HSLhsl(100, 47%, 36%)
HSVhsv(100, 64%, 53%)
CMYKcmyk(42.2%, 0%, 63.7%, 47.1%)
CIE-LABlab(50.88, -34.98, 39.41)
CIE-LCHlch(50.88, 52.69, 131.59°)
OKLaboklab(56.48% -0.0968 0.0915)
OKLCHoklch(56.48% 0.133 136.6)
XYZxyz(12.3599, 19.1687, 5.9538)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8731 #6A3187
analogous
#798731 #4E8731 #31873F
triadic
#4E8731 #314E87 #87314E
tetradic
#4E8731 #317987 #6A3187 #873F31
square
#4E8731 #317987 #6A3187 #873F31
split-complementary
#4E8731 #3F3187 #873179
monochromatic
#1A2D10 #345A21 #4E8731 #68B441 #8AC96A

Accessibility & contrast

On white

4.34
#4E8731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4E8731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8731
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8731#FFFFFF#000000##000000
##4E87311.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C27
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#4C8275
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8731;
/* rgb */ color: rgb(78, 135, 49);
/* oklch */ color: oklch(56.5% 0.133 136.6);
Tailwind
colors: {
  custom: {
    50: '#84aa6d',
    500: '#4e8731',
    950: '#000000',
  },
}
SCSS
$custom: #4e8731;
$custom-light: #84aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8731",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 99.767,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.13321,
    "h": 136.6
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#4E8731
secondary
#9664B0
accent
#51D6AA
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8731

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

Preview Lab → · Contrast checker → · Palette generator →

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