#4D9B22#4D9B22

#4D9B22 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.6% C 0.170 H 137.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4D9B22
RGBrgb(77, 155, 34)
HSLhsl(99, 64%, 37%)
HSVhsv(99, 78%, 61%)
CMYKcmyk(50.3%, 0%, 78.1%, 39.2%)
CIE-LABlab(57.21, -44.92, 51.97)
CIE-LCHlch(57.21, 68.70, 130.84°)
OKLaboklab(61.62% -0.1247 0.1159)
OKLCHoklch(61.62% 0.17 137.1)
XYZxyz(15.0702, 25.1349, 5.5705)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9B22 #70229B
analogous
#899B22 #4D9B22 #229B34
triadic
#4D9B22 #224D9B #9B224D
tetradic
#4D9B22 #22899B #70229B #9B3422
square
#4D9B22 #22899B #70229B #9B3422
split-complementary
#4D9B22 #34229B #9B2289
monochromatic
#1B370C #346917 #4D9B22 #66CD2D #89DB5C

Accessibility & contrast

On white

3.48
#4D9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#4D9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9B22
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9B22#FFFFFF#000000##000000
##4D9B221.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D03
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#489584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4d9b22;
/* rgb */ color: rgb(77, 155, 34);
/* oklch */ color: oklch(61.6% 0.170 137.1);
Tailwind
colors: {
  custom: {
    50: '#87b967',
    500: '#4d9b22',
    950: '#000000',
  },
}
SCSS
$custom: #4d9b22;
$custom-light: #87b967;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9b22",
  "rgb": {
    "r": 77,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 98.678,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61617,
    "c": 0.17025,
    "h": 137.1
  },
  "luminance": 0.25136
}

Semantic roles & 50–950 ramp

primary
#4D9B22
secondary
#9B59C0
accent
#41E7AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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