#4D8F22#4D8F22

#4D8F22 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.155 H 135.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4D8F22
RGBrgb(77, 143, 34)
HSLhsl(96, 62%, 35%)
HSVhsv(96, 76%, 56%)
CMYKcmyk(46.2%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.32, -40.04, 48.19)
CIE-LCHlch(53.32, 62.65, 129.72°)
OKLaboklab(58.42% -0.1115 0.108)
OKLCHoklch(58.42% 0.155 135.9)
XYZxyz(13.1714, 21.3374, 4.9376)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F22 #64228F
analogous
#848F22 #4D8F22 #228F2D
triadic
#4D8F22 #224D8F #8F224D
tetradic
#4D8F22 #22848F #64228F #8F2D22
square
#4D8F22 #22848F #64228F #8F2D22
split-complementary
#4D8F22 #2D228F #8F2284
monochromatic
#182C0A #325E16 #4D8F22 #68C02E #88D755

Accessibility & contrast

On white

3.99
#4D8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4D8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F22
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F22#FFFFFF#000000##000000
##4D8F221.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#4A8A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f22;
/* rgb */ color: rgb(77, 143, 34);
/* oklch */ color: oklch(58.4% 0.155 135.9);
Tailwind
colors: {
  custom: {
    50: '#85b065',
    500: '#4d8f22',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f22;
$custom-light: #85b065;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f22",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 96.33,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.15527,
    "h": 135.9
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#4D8F22
secondary
#9152BA
accent
#43E5A5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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