#4E8E2A#4E8E2A

#4E8E2A is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.148 H 136.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E8E2A
RGBrgb(78, 142, 42)
HSLhsl(98, 54%, 36%)
HSVhsv(98, 70%, 56%)
CMYKcmyk(45.1%, 0%, 70.4%, 44.3%)
CIE-LABlab(53.09, -38.68, 44.88)
CIE-LCHlch(53.09, 59.24, 130.76°)
OKLaboklab(58.27% -0.1074 0.1022)
OKLCHoklch(58.27% 0.148 136.4)
XYZxyz(13.2324, 21.1321, 5.5717)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E2A #6A2A8E
analogous
#808E2A #4E8E2A #2A8E38
triadic
#4E8E2A #2A4E8E #8E2A4E
tetradic
#4E8E2A #2A808E #6A2A8E #8E382A
square
#4E8E2A #2A808E #6A2A8E #8E382A
split-complementary
#4E8E2A #382A8E #8E2A80
monochromatic
#1A300E #345F1C #4E8E2A #68BD38 #8AD162

Accessibility & contrast

On white

4.02
#4E8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E2A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E2A#FFFFFF#000000##000000
##4E8E2A1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e2a;
/* rgb */ color: rgb(78, 142, 42);
/* oklch */ color: oklch(58.3% 0.148 136.4);
Tailwind
colors: {
  custom: {
    50: '#85af69',
    500: '#4e8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e2a;
$custom-light: #85af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e2a",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 98.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.14823,
    "h": 136.4
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#4E8E2A
secondary
#965DB6
accent
#4ADEA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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