#4D8B2B#4D8B2B

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

Color values

HEX#4D8B2B
RGBrgb(77, 139, 43)
HSLhsl(99, 53%, 36%)
HSVhsv(99, 69%, 55%)
CMYKcmyk(44.6%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.08, -37.64, 43.38)
CIE-LCHlch(52.08, 57.43, 130.95°)
OKLaboklab(57.43% -0.1044 0.0992)
OKLCHoklch(57.43% 0.144 136.5)
XYZxyz(12.7289, 20.2167, 5.5165)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B2B #692B8B
analogous
#7D8B2B #4D8B2B #2B8B39
triadic
#4D8B2B #2B4D8B #8B2B4D
tetradic
#4D8B2B #2B7D8B #692B8B #8B392B
square
#4D8B2B #2B7D8B #692B8B #8B392B
split-complementary
#4D8B2B #392B8B #8B2B7D
monochromatic
#192E0E #335C1D #4D8B2B #67BA39 #88CE62

Accessibility & contrast

On white

4.16
#4D8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8B2B#FFFFFF#000000##000000
##4D8B2B1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8b2b;
/* rgb */ color: rgb(77, 139, 43);
/* oklch */ color: oklch(57.4% 0.144 136.5);
Tailwind
colors: {
  custom: {
    50: '#84ad6a',
    500: '#4d8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b2b;
$custom-light: #84ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b2b",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 98.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.14402,
    "h": 136.5
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#4D8B2B
secondary
#965DB5
accent
#4CDCA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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