#4E8A2B#4E8A2B

#4E8A2B is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.142 H 136.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E8A2B
RGBrgb(78, 138, 43)
HSLhsl(98, 52%, 35%)
HSVhsv(98, 69%, 54%)
CMYKcmyk(43.5%, 0%, 68.8%, 45.9%)
CIE-LABlab(51.80, -36.87, 43.10)
CIE-LCHlch(51.80, 56.71, 130.55°)
OKLaboklab(57.21% -0.1024 0.0986)
OKLCHoklch(57.21% 0.142 136.1)
XYZxyz(12.6661, 19.9704, 5.4723)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A2B #672B8A
analogous
#7D8A2B #4E8A2B #2B8A38
triadic
#4E8A2B #2B4E8A #8A2B4E
tetradic
#4E8A2B #2B7D8A #672B8A #8A382B
square
#4E8A2B #2B7D8A #672B8A #8A382B
split-complementary
#4E8A2B #382B8A #8A2B7D
monochromatic
#192D0E #345B1C #4E8A2B #68B93A #89CE61

Accessibility & contrast

On white

4.20
#4E8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A2B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A2B#FFFFFF#000000##000000
##4E8A2B1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#4C8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a2b;
/* rgb */ color: rgb(78, 138, 43);
/* oklch */ color: oklch(57.2% 0.142 136.1);
Tailwind
colors: {
  custom: {
    50: '#85ac69',
    500: '#4e8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a2b;
$custom-light: #85ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a2b",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 97.895,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.14213,
    "h": 136.1
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#4E8A2B
secondary
#945DB4
accent
#4CDCA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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