#4E8730#4E8730

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

Color values

HEX#4E8730
RGBrgb(78, 135, 48)
HSLhsl(99, 48%, 36%)
HSVhsv(99, 64%, 53%)
CMYKcmyk(42.2%, 0%, 64.4%, 47.1%)
CIE-LABlab(50.87, -35.08, 39.86)
CIE-LCHlch(50.87, 53.10, 131.35°)
OKLaboklab(56.47% -0.0971 0.0924)
OKLCHoklch(56.47% 0.134 136.4)
XYZxyz(12.3390, 19.1604, 5.8439)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8730 #693087
analogous
#798730 #4E8730 #30873D
triadic
#4E8730 #304E87 #87304E
tetradic
#4E8730 #307987 #693087 #873D30
square
#4E8730 #307987 #693087 #873D30
split-complementary
#4E8730 #3D3087 #873079
monochromatic
#1A2D10 #345A20 #4E8730 #68B440 #8AC968

Accessibility & contrast

On white

4.35
#4E8730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8730#FFFFFF#000000##000000
##4E87301.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8730;
/* rgb */ color: rgb(78, 135, 48);
/* oklch */ color: oklch(56.5% 0.134 136.4);
Tailwind
colors: {
  custom: {
    50: '#84aa6c',
    500: '#4e8730',
    950: '#000000',
  },
}
SCSS
$custom: #4e8730;
$custom-light: #84aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8730",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 99.31,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.13405,
    "h": 136.4
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#4E8730
secondary
#9662B1
accent
#51D7A9
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8730

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

Preview Lab → · Contrast checker → · Palette generator →

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