#4D8E25#4D8E25

#4D8E25 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.152 H 136.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D8E25
RGBrgb(77, 142, 37)
HSLhsl(97, 59%, 35%)
HSVhsv(97, 74%, 56%)
CMYKcmyk(45.8%, 0%, 73.9%, 44.3%)
CIE-LABlab(53.01, -39.40, 46.77)
CIE-LCHlch(53.01, 61.16, 130.11°)
OKLaboklab(58.18% -0.1096 0.1055)
OKLCHoklch(58.18% 0.152 136.1)
XYZxyz(13.0672, 21.0566, 5.1257)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E25 #66258E
analogous
#818E25 #4D8E25 #258E32
triadic
#4D8E25 #254D8E #8E254D
tetradic
#4D8E25 #25818E #66258E #8E3225
square
#4D8E25 #25818E #66258E #8E3225
split-complementary
#4D8E25 #32258E #8E2581
monochromatic
#182D0C #335D18 #4D8E25 #67BF32 #88D45A

Accessibility & contrast

On white

4.03
#4D8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4D8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E25
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E25#FFFFFF#000000##000000
##4D8E251.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#8A7D2F
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8e25;
/* rgb */ color: rgb(77, 142, 37);
/* oklch */ color: oklch(58.2% 0.152 136.1);
Tailwind
colors: {
  custom: {
    50: '#85af67',
    500: '#4d8e25',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e25;
$custom-light: #85af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e25",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 97.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.15213,
    "h": 136.1
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

primary
#4D8E25
secondary
#9356B9
accent
#46E2A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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