#4E8E28#4E8E28

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

Color values

HEX#4E8E28
RGBrgb(78, 142, 40)
HSLhsl(98, 56%, 36%)
HSVhsv(98, 72%, 56%)
CMYKcmyk(45.1%, 0%, 71.8%, 44.3%)
CIE-LABlab(53.08, -38.84, 45.67)
CIE-LCHlch(53.08, 59.96, 130.38°)
OKLaboklab(58.25% -0.1079 0.1036)
OKLCHoklch(58.25% 0.15 136.2)
XYZxyz(13.1975, 21.1181, 5.3879)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E28 #68288E
analogous
#818E28 #4E8E28 #288E35
triadic
#4E8E28 #284E8E #8E284E
tetradic
#4E8E28 #28818E #68288E #8E3528
square
#4E8E28 #28818E #68288E #8E3528
split-complementary
#4E8E28 #35288E #8E2881
monochromatic
#1A2F0D #345E1B #4E8E28 #68BE35 #8AD25F

Accessibility & contrast

On white

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

On black

5.22
#4E8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E28
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E28#FFFFFF#000000##000000
##4E8E281.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e28;
/* rgb */ color: rgb(78, 142, 40);
/* oklch */ color: oklch(58.3% 0.150 136.2);
Tailwind
colors: {
  custom: {
    50: '#85af68',
    500: '#4e8e28',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e28;
$custom-light: #85af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e28",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 97.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.14962,
    "h": 136.2
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#4E8E28
secondary
#955BB7
accent
#48DFA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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