#4D8B22#4D8B22

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

Color values

HEX#4D8B22
RGBrgb(77, 139, 34)
HSLhsl(95, 61%, 34%)
HSVhsv(95, 76%, 55%)
CMYKcmyk(44.6%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.02, -38.35, 46.91)
CIE-LCHlch(52.02, 60.59, 129.27°)
OKLaboklab(57.35% -0.107 0.1053)
OKLCHoklch(57.35% 0.15 135.5)
XYZxyz(12.5816, 20.1578, 4.7410)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B22 #60228B
analogous
#828B22 #4D8B22 #228B2C
triadic
#4D8B22 #224D8B #8B224D
tetradic
#4D8B22 #22828B #60228B #8B2C22
square
#4D8B22 #22828B #60228B #8B2C22
split-complementary
#4D8B22 #2C228B #8B2282
monochromatic
#17290A #325A16 #4D8B22 #68BC2E #88D553

Accessibility & contrast

On white

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

On black

5.03
#4D8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8B22
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8B22#FFFFFF#000000##000000
##4D8B221.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8b22;
/* rgb */ color: rgb(77, 139, 34);
/* oklch */ color: oklch(57.4% 0.150 135.5);
Tailwind
colors: {
  custom: {
    50: '#85ad65',
    500: '#4d8b22',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b22;
$custom-light: #85ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b22",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 95.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.15012,
    "h": 135.5
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#4D8B22
secondary
#8E50B8
accent
#44E4A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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