#4E8531#4E8531

#4E8531 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.130 H 136.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E8531
RGBrgb(78, 133, 49)
HSLhsl(99, 46%, 36%)
HSVhsv(99, 63%, 52%)
CMYKcmyk(41.4%, 0%, 63.2%, 47.8%)
CIE-LABlab(50.23, -34.08, 38.68)
CIE-LCHlch(50.23, 51.55, 131.38°)
OKLaboklab(55.95% -0.0943 0.09)
OKLCHoklch(55.95% 0.13 136.3)
XYZxyz(12.0835, 18.6159, 5.8617)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8531 #683185
analogous
#788531 #4E8531 #31853E
triadic
#4E8531 #314E85 #85314E
tetradic
#4E8531 #317885 #683185 #853E31
square
#4E8531 #317885 #683185 #853E31
split-complementary
#4E8531 #3E3185 #853178
monochromatic
#1A2C10 #345821 #4E8531 #68B241 #8AC869

Accessibility & contrast

On white

4.45
#4E8531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4E8531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8531
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8531#FFFFFF#000000##000000
##4E85311.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A27
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#4C8073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e8531;
/* rgb */ color: rgb(78, 133, 49);
/* oklch */ color: oklch(55.9% 0.130 136.3);
Tailwind
colors: {
  custom: {
    50: '#84a96d',
    500: '#4e8531',
    950: '#000000',
  },
}
SCSS
$custom: #4e8531;
$custom-light: #84a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8531",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 99.286,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.13037,
    "h": 136.3
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#4E8531
secondary
#9563AF
accent
#52D6A8
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8531

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

Preview Lab → · Contrast checker → · Palette generator →

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