#4D8925#4D8925

#4D8925 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.146 H 135.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D8925
RGBrgb(77, 137, 37)
HSLhsl(96, 57%, 34%)
HSVhsv(96, 73%, 54%)
CMYKcmyk(43.8%, 0%, 73%, 46.3%)
CIE-LABlab(51.38, -37.27, 45.12)
CIE-LCHlch(51.38, 58.52, 129.56°)
OKLaboklab(56.84% -0.1038 0.102)
OKLCHoklch(56.84% 0.146 135.5)
XYZxyz(12.3399, 19.6020, 4.8833)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8925 #612589
analogous
#7F8925 #4D8925 #25892F
triadic
#4D8925 #254D89 #89254D
tetradic
#4D8925 #257F89 #612589 #892F25
square
#4D8925 #257F89 #612589 #892F25
split-complementary
#4D8925 #2F2589 #89257F
monochromatic
#17290B #325918 #4D8925 #68B932 #88D257

Accessibility & contrast

On white

4.27
#4D8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4D8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8925
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8925#FFFFFF#000000##000000
##4D89251.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#4B8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8925;
/* rgb */ color: rgb(77, 137, 37);
/* oklch */ color: oklch(56.8% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#84ac66',
    500: '#4d8925',
    950: '#000000',
  },
}
SCSS
$custom: #4d8925;
$custom-light: #84ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8925",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 96,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.14558,
    "h": 135.5
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#4D8925
secondary
#8F54B6
accent
#47E1A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8925

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

Preview Lab → · Contrast checker → · Palette generator →

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