#4D8E2A#4D8E2A

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

Color values

HEX#4D8E2A
RGBrgb(77, 142, 42)
HSLhsl(99, 54%, 36%)
HSVhsv(99, 70%, 56%)
CMYKcmyk(45.8%, 0%, 70.4%, 44.3%)
CIE-LABlab(53.05, -39.01, 44.81)
CIE-LCHlch(53.05, 59.41, 131.04°)
OKLaboklab(58.22% -0.1082 0.1021)
OKLCHoklch(58.22% 0.149 136.7)
XYZxyz(13.1511, 21.0901, 5.5679)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E2A #6B2A8E
analogous
#7F8E2A #4D8E2A #2A8E39
triadic
#4D8E2A #2A4D8E #8E2A4D
tetradic
#4D8E2A #2A7F8E #6B2A8E #8E392A
square
#4D8E2A #2A7F8E #6B2A8E #8E392A
split-complementary
#4D8E2A #392A8E #8E2A7F
monochromatic
#1A300E #335F1C #4D8E2A #67BD38 #89D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8E2A#FFFFFF#000000##000000
##4D8E2A1.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)
#93821B
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8e2a;
/* rgb */ color: rgb(77, 142, 42);
/* oklch */ color: oklch(58.2% 0.149 136.7);
Tailwind
colors: {
  custom: {
    50: '#85af69',
    500: '#4d8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e2a;
$custom-light: #85af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e2a",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 99,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.14876,
    "h": 136.7
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

primary
#4D8E2A
secondary
#975DB6
accent
#4ADEAA
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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