#4E8B2A#4E8B2A

#4E8B2A is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.144 H 136.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E8B2A
RGBrgb(78, 139, 42)
HSLhsl(98, 54%, 35%)
HSVhsv(98, 70%, 55%)
CMYKcmyk(43.9%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.12, -37.39, 43.86)
CIE-LCHlch(52.12, 57.63, 130.45°)
OKLaboklab(57.47% -0.1039 0.1001)
OKLCHoklch(57.47% 0.144 136.1)
XYZxyz(12.7921, 20.2514, 5.4249)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B2A #672A8B
analogous
#7E8B2A #4E8B2A #2A8B36
triadic
#4E8B2A #2A4E8B #8B2A4E
tetradic
#4E8B2A #2A7E8B #672A8B #8B362A
square
#4E8B2A #2A7E8B #672A8B #8B362A
split-complementary
#4E8B2A #362A8B #8B2A7E
monochromatic
#192D0E #345C1C #4E8B2A #68BA38 #89CF60

Accessibility & contrast

On white

4.16
#4E8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B2A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B2A#FFFFFF#000000##000000
##4E8B2A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#887A33
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b2a;
/* rgb */ color: rgb(78, 139, 42);
/* oklch */ color: oklch(57.5% 0.144 136.1);
Tailwind
colors: {
  custom: {
    50: '#85ad69',
    500: '#4e8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b2a;
$custom-light: #85ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b2a",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 97.732,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.14422,
    "h": 136.1
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#4E8B2A
secondary
#945CB5
accent
#4BDDA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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