#4E8C2D#4E8C2D

#4E8C2D is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.143 H 136.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E8C2D
RGBrgb(78, 140, 45)
HSLhsl(99, 51%, 36%)
HSVhsv(99, 68%, 55%)
CMYKcmyk(44.3%, 0%, 67.9%, 45.1%)
CIE-LABlab(52.47, -37.56, 42.94)
CIE-LCHlch(52.47, 57.05, 131.17°)
OKLaboklab(57.76% -0.1041 0.0985)
OKLCHoklch(57.76% 0.143 136.6)
XYZxyz(12.9933, 20.5646, 5.7668)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C2D #6B2D8C
analogous
#7E8C2D #4E8C2D #2D8C3C
triadic
#4E8C2D #2D4E8C #8C2D4E
tetradic
#4E8C2D #2D7E8C #6B2D8C #8C3C2D
square
#4E8C2D #2D7E8C #6B2D8C #8C3C2D
split-complementary
#4E8C2D #3C2D8C #8C2D7E
monochromatic
#1A2F0F #345E1E #4E8C2D #68BA3C #8ACE66

Accessibility & contrast

On white

4.11
#4E8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C2D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C2D#FFFFFF#000000##000000
##4E8C2D1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918020
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#4B8779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c2d;
/* rgb */ color: rgb(78, 140, 45);
/* oklch */ color: oklch(57.8% 0.143 136.6);
Tailwind
colors: {
  custom: {
    50: '#85ae6b',
    500: '#4e8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c2d;
$custom-light: #85ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c2d",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 99.158,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.14334,
    "h": 136.6
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#4E8C2D
secondary
#9760B4
accent
#4DDBAA
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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