#4D9D22#4D9D22

#4D9D22 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.1% C 0.173 H 137.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D9D22
RGBrgb(77, 157, 34)
HSLhsl(99, 64%, 37%)
HSVhsv(99, 78%, 62%)
CMYKcmyk(51%, 0%, 78.3%, 38.4%)
CIE-LABlab(57.85, -45.71, 52.59)
CIE-LCHlch(57.85, 69.68, 131.00°)
OKLaboklab(62.15% -0.1268 0.1172)
OKLCHoklch(62.15% 0.173 137.3)
XYZxyz(15.4058, 25.8061, 5.6823)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9D22 #72229D
analogous
#8B9D22 #4D9D22 #229D34
triadic
#4D9D22 #224D9D #9D224D
tetradic
#4D9D22 #228B9D #72229D #9D3422
square
#4D9D22 #228B9D #72229D #9D3422
split-complementary
#4D9D22 #34229D #9D228B
monochromatic
#1C380C #346B17 #4D9D22 #66CF2D #8ADC5D

Accessibility & contrast

On white

3.41
#4D9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4D9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9D22
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9D22#FFFFFF#000000##000000
##4D9D221.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F01
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#489786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d9d22;
/* rgb */ color: rgb(77, 157, 34);
/* oklch */ color: oklch(62.1% 0.173 137.3);
Tailwind
colors: {
  custom: {
    50: '#87bb67',
    500: '#4d9d22',
    950: '#000000',
  },
}
SCSS
$custom: #4d9d22;
$custom-light: #87bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9d22",
  "rgb": {
    "r": 77,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 99.024,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.1727,
    "h": 137.3
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#4D9D22
secondary
#9D5AC1
accent
#40E7AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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