#4E8C2A#4E8C2A

#4E8C2A is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.146 H 136.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E8C2A
RGBrgb(78, 140, 42)
HSLhsl(98, 54%, 36%)
HSVhsv(98, 70%, 55%)
CMYKcmyk(44.3%, 0%, 70%, 45.1%)
CIE-LABlab(52.44, -37.82, 44.20)
CIE-LCHlch(52.44, 58.17, 130.55°)
OKLaboklab(57.74% -0.105 0.1008)
OKLCHoklch(57.74% 0.146 136.2)
XYZxyz(12.9375, 20.5423, 5.4734)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C2A #682A8C
analogous
#7F8C2A #4E8C2A #2A8C37
triadic
#4E8C2A #2A4E8C #8C2A4E
tetradic
#4E8C2A #2A7F8C #682A8C #8C372A
square
#4E8C2A #2A7F8C #682A8C #8C372A
split-complementary
#4E8C2A #372A8C #8C2A7F
monochromatic
#1A2E0E #345D1C #4E8C2A #68BB38 #8AD061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8C2A#FFFFFF#000000##000000
##4E8C2A1.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)
#91801C
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c2a;
/* rgb */ color: rgb(78, 140, 42);
/* oklch */ color: oklch(57.7% 0.146 136.2);
Tailwind
colors: {
  custom: {
    50: '#85ae69',
    500: '#4e8c2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c2a;
$custom-light: #85ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c2a",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 97.959,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57735,
    "c": 0.14556,
    "h": 136.2
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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