#4D8E2B#4D8E2B

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

Color values

HEX#4D8E2B
RGBrgb(77, 142, 43)
HSLhsl(99, 54%, 36%)
HSVhsv(99, 70%, 56%)
CMYKcmyk(45.8%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.06, -38.93, 44.41)
CIE-LCHlch(53.06, 59.05, 131.24°)
OKLaboklab(58.23% -0.1079 0.1014)
OKLCHoklch(58.23% 0.148 136.8)
XYZxyz(13.1692, 21.0974, 5.6633)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E2B #6C2B8E
analogous
#7F8E2B #4D8E2B #2B8E3B
triadic
#4D8E2B #2B4D8E #8E2B4D
tetradic
#4D8E2B #2B7F8E #6C2B8E #8E3B2B
square
#4D8E2B #2B7F8E #6C2B8E #8E3B2B
split-complementary
#4D8E2B #3B2B8E #8E2B7F
monochromatic
#1A300F #345F1D #4D8E2B #66BD39 #89D063

Accessibility & contrast

On white

4.02
#4D8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4D8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E2B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E2B#FFFFFF#000000##000000
##4D8E2B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8e2b;
/* rgb */ color: rgb(77, 142, 43);
/* oklch */ color: oklch(58.2% 0.148 136.8);
Tailwind
colors: {
  custom: {
    50: '#84af6a',
    500: '#4d8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e2b;
$custom-light: #84af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e2b",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 99.394,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.14805,
    "h": 136.8
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

primary
#4D8E2B
secondary
#985FB6
accent
#4BDDAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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