#4E8A22#4E8A22

#4E8A22 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.148 H 135.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E8A22
RGBrgb(78, 138, 34)
HSLhsl(95, 60%, 34%)
HSVhsv(95, 75%, 54%)
CMYKcmyk(43.5%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.74, -37.57, 46.65)
CIE-LCHlch(51.74, 59.90, 128.85°)
OKLaboklab(57.14% -0.105 0.1048)
OKLCHoklch(57.14% 0.148 135.1)
XYZxyz(12.5188, 19.9115, 4.6967)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A22 #5E228A
analogous
#828A22 #4E8A22 #228A2A
triadic
#4E8A22 #224E8A #8A224E
tetradic
#4E8A22 #22828A #5E228A #8A2A22
square
#4E8A22 #22828A #5E228A #8A2A22
split-complementary
#4E8A22 #2A228A #8A2282
monochromatic
#16280A #325916 #4E8A22 #6ABB2E #89D452

Accessibility & contrast

On white

4.21
#4E8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A22
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A22#FFFFFF#000000##000000
##4E8A221.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#4D8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a22;
/* rgb */ color: rgb(78, 138, 34);
/* oklch */ color: oklch(57.1% 0.148 135.1);
Tailwind
colors: {
  custom: {
    50: '#85ac65',
    500: '#4e8a22',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a22;
$custom-light: #85ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a22",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 94.615,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57137,
    "c": 0.14829,
    "h": 135.1
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#4E8A22
secondary
#8C50B8
accent
#44E4A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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