#4D8725#4D8725

#4D8725 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.143 H 135.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4D8725
RGBrgb(77, 135, 37)
HSLhsl(96, 57%, 34%)
HSVhsv(96, 73%, 53%)
CMYKcmyk(43%, 0%, 72.6%, 47.1%)
CIE-LABlab(50.73, -36.40, 44.46)
CIE-LCHlch(50.73, 57.46, 129.31°)
OKLaboklab(56.31% -0.1015 0.1006)
OKLCHoklch(56.31% 0.143 135.2)
XYZxyz(12.0582, 19.0386, 4.7894)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8725 #5F2587
analogous
#7E8725 #4D8725 #25872E
triadic
#4D8725 #254D87 #87254D
tetradic
#4D8725 #257E87 #5F2587 #872E25
square
#4D8725 #257E87 #5F2587 #872E25
split-complementary
#4D8725 #2E2587 #87257E
monochromatic
#16270B #325718 #4D8725 #68B732 #88D156

Accessibility & contrast

On white

4.37
#4D8725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4D8725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8725
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8725#FFFFFF#000000##000000
##4D87251.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C15
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#4B8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8725;
/* rgb */ color: rgb(77, 135, 37);
/* oklch */ color: oklch(56.3% 0.143 135.2);
Tailwind
colors: {
  custom: {
    50: '#84aa66',
    500: '#4d8725',
    950: '#000000',
  },
}
SCSS
$custom: #4d8725;
$custom-light: #84aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8725",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 95.51,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.14293,
    "h": 135.2
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#4D8725
secondary
#8D53B5
accent
#48E0A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8725

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

Preview Lab → · Contrast checker → · Palette generator →

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