#4E8B2D#4E8B2D

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

Color values

HEX#4E8B2D
RGBrgb(78, 139, 45)
HSLhsl(99, 51%, 36%)
HSVhsv(99, 68%, 55%)
CMYKcmyk(43.9%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.15, -37.12, 42.59)
CIE-LCHlch(52.15, 56.50, 131.07°)
OKLaboklab(57.5% -0.1029 0.0978)
OKLCHoklch(57.5% 0.142 136.5)
XYZxyz(12.8478, 20.2737, 5.7183)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B2D #6A2D8B
analogous
#7D8B2D #4E8B2D #2D8B3B
triadic
#4E8B2D #2D4E8B #8B2D4E
tetradic
#4E8B2D #2D7D8B #6A2D8B #8B3B2D
square
#4E8B2D #2D7D8B #6A2D8B #8B3B2D
split-complementary
#4E8B2D #3B2D8B #8B2D7D
monochromatic
#1A2F0F #345D1E #4E8B2D #68B93C #8ACD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8B2D#FFFFFF#000000##000000
##4E8B2D1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8b2d;
/* rgb */ color: rgb(78, 139, 45);
/* oklch */ color: oklch(57.5% 0.142 136.5);
Tailwind
colors: {
  custom: {
    50: '#85ad6b',
    500: '#4e8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b2d;
$custom-light: #85ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b2d",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 98.936,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.14198,
    "h": 136.5
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#4E8B2D
secondary
#9660B4
accent
#4DDBA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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