#4D8A22#4D8A22

#4D8A22 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.149 H 135.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8A22
RGBrgb(77, 138, 34)
HSLhsl(95, 60%, 34%)
HSVhsv(95, 75%, 54%)
CMYKcmyk(44.2%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.69, -37.92, 46.58)
CIE-LCHlch(51.69, 60.07, 129.15°)
OKLaboklab(57.08% -0.1058 0.1046)
OKLCHoklch(57.08% 0.149 135.3)
XYZxyz(12.4375, 19.8695, 4.6929)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A22 #5F228A
analogous
#818A22 #4D8A22 #228A2B
triadic
#4D8A22 #224D8A #8A224D
tetradic
#4D8A22 #22818A #5F228A #8A2B22
square
#4D8A22 #22818A #5F228A #8A2B22
split-complementary
#4D8A22 #2B228A #8A2281
monochromatic
#16280A #325916 #4D8A22 #68BB2E #88D452

Accessibility & contrast

On white

4.22
#4D8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A22#FFFFFF#000000##000000
##4D8A221.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a22;
/* rgb */ color: rgb(77, 138, 34);
/* oklch */ color: oklch(57.1% 0.149 135.3);
Tailwind
colors: {
  custom: {
    50: '#84ac65',
    500: '#4d8a22',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a22;
$custom-light: #84ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a22",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 95.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.14883,
    "h": 135.3
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#4D8A22
secondary
#8D50B8
accent
#44E4A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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