#4D8E22#4D8E22

#4D8E22 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.154 H 135.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D8E22
RGBrgb(77, 142, 34)
HSLhsl(96, 61%, 35%)
HSVhsv(96, 76%, 56%)
CMYKcmyk(45.8%, 0%, 76.1%, 44.3%)
CIE-LABlab(52.99, -39.62, 47.87)
CIE-LCHlch(52.99, 62.14, 129.61°)
OKLaboklab(58.15% -0.1104 0.1073)
OKLCHoklch(58.15% 0.154 135.8)
XYZxyz(13.0220, 21.0385, 4.8877)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E22 #63228E
analogous
#838E22 #4D8E22 #228E2D
triadic
#4D8E22 #224D8E #8E224D
tetradic
#4D8E22 #22838E #63228E #8E2D22
square
#4D8E22 #22838E #63228E #8E2D22
split-complementary
#4D8E22 #2D228E #8E2283
monochromatic
#172B0A #325D16 #4D8E22 #68BF2E #88D654

Accessibility & contrast

On white

4.03
#4D8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4D8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E22
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E22#FFFFFF#000000##000000
##4D8E221.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#4B8979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e22;
/* rgb */ color: rgb(77, 142, 34);
/* oklch */ color: oklch(58.2% 0.154 135.8);
Tailwind
colors: {
  custom: {
    50: '#85af65',
    500: '#4d8e22',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e22;
$custom-light: #85af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e22",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 96.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.15398,
    "h": 135.8
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#4D8E22
secondary
#9052BA
accent
#43E4A4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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