#4D8A24#4D8A24

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

Color values

HEX#4D8A24
RGBrgb(77, 138, 36)
HSLhsl(96, 59%, 34%)
HSVhsv(96, 74%, 54%)
CMYKcmyk(44.2%, 0%, 73.9%, 45.9%)
CIE-LABlab(51.70, -37.78, 45.84)
CIE-LCHlch(51.70, 59.40, 129.49°)
OKLaboklab(57.1% -0.1053 0.1034)
OKLCHoklch(57.1% 0.148 135.5)
XYZxyz(12.4672, 19.8814, 4.8493)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A24 #61248A
analogous
#808A24 #4D8A24 #248A2E
triadic
#4D8A24 #244D8A #8A244D
tetradic
#4D8A24 #24808A #61248A #8A2E24
square
#4D8A24 #24808A #61248A #8A2E24
split-complementary
#4D8A24 #2E248A #8A2480
monochromatic
#17290B #325917 #4D8A24 #68BB31 #88D356

Accessibility & contrast

On white

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

On black

4.98
#4D8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A24
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A24#FFFFFF#000000##000000
##4D8A241.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8a24;
/* rgb */ color: rgb(77, 138, 36);
/* oklch */ color: oklch(57.1% 0.148 135.5);
Tailwind
colors: {
  custom: {
    50: '#84ac66',
    500: '#4d8a24',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a24;
$custom-light: #84ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a24",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 95.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.571,
    "c": 0.14756,
    "h": 135.5
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#4D8A24
secondary
#8F53B7
accent
#46E2A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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