#4E8A2F#4E8A2F

#4E8A2F is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.139 H 136.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E8A2F
RGBrgb(78, 138, 47)
HSLhsl(100, 49%, 36%)
HSVhsv(100, 66%, 54%)
CMYKcmyk(43.5%, 0%, 65.9%, 45.9%)
CIE-LABlab(51.84, -36.50, 41.38)
CIE-LCHlch(51.84, 55.17, 131.42°)
OKLaboklab(57.25% -0.1011 0.0955)
OKLCHoklch(57.25% 0.139 136.6)
XYZxyz(12.7431, 20.0012, 5.8779)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A2F #6B2F8A
analogous
#7C8A2F #4E8A2F #2F8A3E
triadic
#4E8A2F #2F4E8A #8A2F4E
tetradic
#4E8A2F #2F7C8A #6B2F8A #8A3E2F
square
#4E8A2F #2F7C8A #6B2F8A #8A3E2F
split-complementary
#4E8A2F #3E2F8A #8A2F7C
monochromatic
#1A2F10 #345C1F #4E8A2F #68B83F #8ACC68

Accessibility & contrast

On white

4.20
#4E8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4E8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A2F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A2F#FFFFFF#000000##000000
##4E8A2F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#867A37
Tritanopia (blue-blind)
#4B8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8a2f;
/* rgb */ color: rgb(78, 138, 47);
/* oklch */ color: oklch(57.3% 0.139 136.6);
Tailwind
colors: {
  custom: {
    50: '#84ac6c',
    500: '#4e8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a2f;
$custom-light: #84ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a2f",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 99.56,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.13904,
    "h": 136.6
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#4E8A2F
secondary
#9762B3
accent
#4FD9AA
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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