#4E8B22#4E8B22

#4E8B22 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.150 H 135.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B22
RGBrgb(78, 139, 34)
HSLhsl(95, 61%, 34%)
HSVhsv(95, 76%, 55%)
CMYKcmyk(43.9%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.06, -38.00, 46.97)
CIE-LCHlch(52.06, 60.42, 128.98°)
OKLaboklab(57.4% -0.1061 0.1054)
OKLCHoklch(57.4% 0.15 135.2)
XYZxyz(12.6629, 20.1997, 4.7448)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B22 #5F228B
analogous
#838B22 #4E8B22 #228B2B
triadic
#4E8B22 #224E8B #8B224E
tetradic
#4E8B22 #22838B #5F228B #8B2B22
square
#4E8B22 #22838B #5F228B #8B2B22
split-complementary
#4E8B22 #2B228B #8B2283
monochromatic
#17290A #325A16 #4E8B22 #6ABC2E #89D553

Accessibility & contrast

On white

4.17
#4E8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B22
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B22#FFFFFF#000000##000000
##4E8B221.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b22;
/* rgb */ color: rgb(78, 139, 34);
/* oklch */ color: oklch(57.4% 0.150 135.2);
Tailwind
colors: {
  custom: {
    50: '#85ad65',
    500: '#4e8b22',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b22;
$custom-light: #85ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b22",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 94.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.14959,
    "h": 135.2
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#4E8B22
secondary
#8D50B8
accent
#44E4A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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