#4D8B2A#4D8B2A

#4D8B2A is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.145 H 136.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D8B2A
RGBrgb(77, 139, 42)
HSLhsl(98, 54%, 35%)
HSVhsv(98, 70%, 55%)
CMYKcmyk(44.6%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.07, -37.73, 43.79)
CIE-LCHlch(52.07, 57.80, 130.75°)
OKLaboklab(57.42% -0.1047 0.0999)
OKLCHoklch(57.42% 0.145 136.3)
XYZxyz(12.7108, 20.2094, 5.4211)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B2A #682A8B
analogous
#7D8B2A #4D8B2A #2A8B38
triadic
#4D8B2A #2A4D8B #8B2A4D
tetradic
#4D8B2A #2A7D8B #682A8B #8B382A
square
#4D8B2A #2A7D8B #682A8B #8B382A
split-complementary
#4D8B2A #382A8B #8B2A7D
monochromatic
#192D0E #335C1C #4D8B2A #67BA38 #88CF60

Accessibility & contrast

On white

4.17
#4D8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4D8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8B2A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8B2A#FFFFFF#000000##000000
##4D8B2A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8b2a;
/* rgb */ color: rgb(77, 139, 42);
/* oklch */ color: oklch(57.4% 0.145 136.3);
Tailwind
colors: {
  custom: {
    50: '#84ad69',
    500: '#4d8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b2a;
$custom-light: #84ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b2a",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 98.351,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.14476,
    "h": 136.3
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#4D8B2A
secondary
#955CB5
accent
#4BDDA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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