#4D8F2B#4D8F2B

#4D8F2B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.149 H 136.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D8F2B
RGBrgb(77, 143, 43)
HSLhsl(100, 54%, 36%)
HSVhsv(100, 70%, 56%)
CMYKcmyk(46.2%, 0%, 69.9%, 43.9%)
CIE-LABlab(53.38, -39.35, 44.75)
CIE-LCHlch(53.38, 59.59, 131.33°)
OKLaboklab(58.49% -0.109 0.1021)
OKLCHoklch(58.49% 0.149 136.9)
XYZxyz(13.3187, 21.3963, 5.7131)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F2B #6D2B8F
analogous
#7F8F2B #4D8F2B #2B8F3B
triadic
#4D8F2B #2B4D8F #8F2B4D
tetradic
#4D8F2B #2B7F8F #6D2B8F #8F3B2B
square
#4D8F2B #2B7F8F #6D2B8F #8F3B2B
split-complementary
#4D8F2B #3B2B8F #8F2B7F
monochromatic
#1A310F #34601D #4D8F2B #66BE39 #89D064

Accessibility & contrast

On white

3.98
#4D8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4D8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F2B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F2B#FFFFFF#000000##000000
##4D8F2B1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#4A8A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f2b;
/* rgb */ color: rgb(77, 143, 43);
/* oklch */ color: oklch(58.5% 0.149 136.9);
Tailwind
colors: {
  custom: {
    50: '#85b06a',
    500: '#4d8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f2b;
$custom-light: #85b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f2b",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 99.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.14937,
    "h": 136.9
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#4D8F2B
secondary
#995FB7
accent
#4BDDAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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