#4D8B1B#4D8B1B

#4D8B1B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.154 H 134.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4D8B1B
RGBrgb(77, 139, 27)
HSLhsl(93, 67%, 33%)
HSVhsv(93, 81%, 55%)
CMYKcmyk(44.6%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.97, -38.79, 49.29)
CIE-LCHlch(51.97, 62.72, 128.20°)
OKLaboklab(57.3% -0.1086 0.1092)
OKLCHoklch(57.3% 0.154 134.9)
XYZxyz(12.4907, 20.1214, 4.2624)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B1B #591B8B
analogous
#858B1B #4D8B1B #1B8B21
triadic
#4D8B1B #1B4D8B #8B1B4D
tetradic
#4D8B1B #1B858B #591B8B #8B211B
square
#4D8B1B #1B858B #591B8B #8B211B
split-complementary
#4D8B1B #211B8B #8B1B85
monochromatic
#142507 #315811 #4D8B1B #69BE25 #88DB45

Accessibility & contrast

On white

4.18
#4D8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4D8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8B1B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8B1B#FFFFFF#000000##000000
##4D8B1B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8b1b;
/* rgb */ color: rgb(77, 139, 27);
/* oklch */ color: oklch(57.3% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#85ad61',
    500: '#4d8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b1b;
$custom-light: #85ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b1b",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 93.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.15404,
    "h": 134.9
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#4D8B1B
secondary
#8745BC
accent
#3DEA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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