#4D9C22#4D9C22

#4D9C22 is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.171 H 137.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4D9C22
RGBrgb(77, 156, 34)
HSLhsl(99, 64%, 37%)
HSVhsv(99, 78%, 61%)
CMYKcmyk(50.6%, 0%, 78.2%, 38.8%)
CIE-LABlab(57.53, -45.32, 52.28)
CIE-LCHlch(57.53, 69.19, 130.92°)
OKLaboklab(61.88% -0.1258 0.1166)
OKLCHoklch(61.88% 0.171 137.2)
XYZxyz(15.2373, 25.4691, 5.6262)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9C22 #71229C
analogous
#8A9C22 #4D9C22 #229C34
triadic
#4D9C22 #224D9C #9C224D
tetradic
#4D9C22 #228A9C #71229C #9C3422
square
#4D9C22 #228A9C #71229C #9C3422
split-complementary
#4D9C22 #34229C #9C228A
monochromatic
#1B380C #346A17 #4D9C22 #66CE2D #89DC5D

Accessibility & contrast

On white

3.45
#4D9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#4D9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9C22
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9C22#FFFFFF#000000##000000
##4D9C221.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#489685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4d9c22;
/* rgb */ color: rgb(77, 156, 34);
/* oklch */ color: oklch(61.9% 0.171 137.2);
Tailwind
colors: {
  custom: {
    50: '#87ba67',
    500: '#4d9c22',
    950: '#000000',
  },
}
SCSS
$custom: #4d9c22;
$custom-light: #87ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9c22",
  "rgb": {
    "r": 77,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 98.852,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.17148,
    "h": 137.2
  },
  "luminance": 0.2547
}

Semantic roles & 50–950 ramp

primary
#4D9C22
secondary
#9C5AC0
accent
#41E7AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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