#4E8729#4E8729

#4E8729 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.140 H 135.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E8729
RGBrgb(78, 135, 41)
HSLhsl(96, 53%, 35%)
HSVhsv(96, 70%, 53%)
CMYKcmyk(42.2%, 0%, 69.6%, 47.1%)
CIE-LABlab(50.81, -35.73, 42.90)
CIE-LCHlch(50.81, 55.83, 129.79°)
OKLaboklab(56.4% -0.0994 0.0979)
OKLCHoklch(56.4% 0.14 135.4)
XYZxyz(12.2058, 19.1071, 5.1423)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8729 #622987
analogous
#7D8729 #4E8729 #298733
triadic
#4E8729 #294E87 #87294E
tetradic
#4E8729 #297D87 #622987 #873329
square
#4E8729 #297D87 #622987 #873329
split-complementary
#4E8729 #332987 #87297D
monochromatic
#18290C #33581B #4E8729 #69B637 #89CE5D

Accessibility & contrast

On white

4.36
#4E8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8729
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8729#FFFFFF#000000##000000
##4E87291.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#4C8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8729;
/* rgb */ color: rgb(78, 135, 41);
/* oklch */ color: oklch(56.4% 0.140 135.4);
Tailwind
colors: {
  custom: {
    50: '#84aa68',
    500: '#4e8729',
    950: '#000000',
  },
}
SCSS
$custom: #4e8729;
$custom-light: #84aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8729",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 96.383,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.13955,
    "h": 135.4
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#4E8729
secondary
#9059B3
accent
#4BDDA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8729

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

Preview Lab → · Contrast checker → · Palette generator →

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