#4E8F2A#4E8F2A

#4E8F2A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.150 H 136.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E8F2A
RGBrgb(78, 143, 42)
HSLhsl(99, 55%, 36%)
HSVhsv(99, 71%, 56%)
CMYKcmyk(45.5%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.42, -39.10, 45.21)
CIE-LCHlch(53.42, 59.78, 130.85°)
OKLaboklab(58.53% -0.1085 0.1029)
OKLCHoklch(58.53% 0.15 136.5)
XYZxyz(13.3819, 21.4310, 5.6215)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F2A #6B2A8F
analogous
#818F2A #4E8F2A #2A8F39
triadic
#4E8F2A #2A4E8F #8F2A4E
tetradic
#4E8F2A #2A818F #6B2A8F #8F392A
square
#4E8F2A #2A818F #6B2A8F #8F392A
split-complementary
#4E8F2A #392A8F #8F2A81
monochromatic
#1A300E #34601C #4E8F2A #68BE38 #8AD162

Accessibility & contrast

On white

3.97
#4E8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4E8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F2A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F2A#FFFFFF#000000##000000
##4E8F2A1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#4B8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e8f2a;
/* rgb */ color: rgb(78, 143, 42);
/* oklch */ color: oklch(58.5% 0.150 136.5);
Tailwind
colors: {
  custom: {
    50: '#85b069',
    500: '#4e8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f2a;
$custom-light: #85b069;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f2a",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 98.614,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58533,
    "c": 0.14955,
    "h": 136.5
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#4E8F2A
secondary
#975EB7
accent
#4ADEA9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4E8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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