#4E8B2F#4E8B2F

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

Color values

HEX#4E8B2F
RGBrgb(78, 139, 47)
HSLhsl(100, 49%, 36%)
HSVhsv(100, 66%, 55%)
CMYKcmyk(43.9%, 0%, 66.2%, 45.5%)
CIE-LABlab(52.16, -36.94, 41.73)
CIE-LCHlch(52.16, 55.73, 131.51°)
OKLaboklab(57.52% -0.1023 0.0962)
OKLCHoklch(57.52% 0.14 136.7)
XYZxyz(12.8872, 20.2894, 5.9260)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B2F #6C2F8B
analogous
#7C8B2F #4E8B2F #2F8B3E
triadic
#4E8B2F #2F4E8B #8B2F4E
tetradic
#4E8B2F #2F7C8B #6C2F8B #8B3E2F
square
#4E8B2F #2F7C8B #6C2F8B #8B3E2F
split-complementary
#4E8B2F #3E2F8B #8B2F7C
monochromatic
#1B3010 #345D20 #4E8B2F #68B93E #8ACC68

Accessibility & contrast

On white

4.15
#4E8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B2F#FFFFFF#000000##000000
##4E8B2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#4B8678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b2f;
/* rgb */ color: rgb(78, 139, 47);
/* oklch */ color: oklch(57.5% 0.140 136.7);
Tailwind
colors: {
  custom: {
    50: '#84ad6c',
    500: '#4e8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b2f;
$custom-light: #84ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b2f",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 99.783,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.14042,
    "h": 136.7
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#4E8B2F
secondary
#9863B3
accent
#4FD9AA
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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