#4D9F22#4D9F22

#4D9F22 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.7% C 0.175 H 137.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4D9F22
RGBrgb(77, 159, 34)
HSLhsl(99, 65%, 38%)
HSVhsv(99, 79%, 62%)
CMYKcmyk(51.6%, 0%, 78.6%, 37.6%)
CIE-LABlab(58.50, -46.50, 53.21)
CIE-LCHlch(58.50, 70.66, 131.15°)
OKLaboklab(62.68% -0.1289 0.1185)
OKLCHoklch(62.68% 0.175 137.4)
XYZxyz(15.7469, 26.4884, 5.7961)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9F22 #74229F
analogous
#8B9F22 #4D9F22 #229F35
triadic
#4D9F22 #224D9F #9F224D
tetradic
#4D9F22 #228B9F #74229F #9F3522
square
#4D9F22 #228B9F #74229F #9F3522
split-complementary
#4D9F22 #35229F #9F228B
monochromatic
#1C3A0C #356D17 #4D9F22 #65D12D #8ADD5F

Accessibility & contrast

On white

3.33
#4D9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#4D9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9F22
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9F22#FFFFFF#000000##000000
##4D9F221.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9A8A30
Tritanopia (blue-blind)
#479988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4d9f22;
/* rgb */ color: rgb(77, 159, 34);
/* oklch */ color: oklch(62.7% 0.175 137.4);
Tailwind
colors: {
  custom: {
    50: '#87bc67',
    500: '#4d9f22',
    950: '#000000',
  },
}
SCSS
$custom: #4d9f22;
$custom-light: #87bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9f22",
  "rgb": {
    "r": 77,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 99.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6268,
    "c": 0.17512,
    "h": 137.4
  },
  "luminance": 0.2649
}

Semantic roles & 50–950 ramp

primary
#4D9F22
secondary
#9E5BC1
accent
#40E8AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4D9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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