#4D8D1B#4D8D1B

#4D8D1B is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.157 H 135.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D8D1B
RGBrgb(77, 141, 27)
HSLhsl(94, 68%, 33%)
HSVhsv(94, 81%, 55%)
CMYKcmyk(45.4%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.63, -39.63, 49.90)
CIE-LCHlch(52.63, 63.72, 128.46°)
OKLaboklab(57.84% -0.1109 0.1105)
OKLCHoklch(57.84% 0.157 135.1)
XYZxyz(12.7830, 20.7059, 4.3598)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D1B #5B1B8D
analogous
#868D1B #4D8D1B #1B8D22
triadic
#4D8D1B #1B4D8D #8D1B4D
tetradic
#4D8D1B #1B868D #5B1B8D #8D221B
square
#4D8D1B #1B868D #5B1B8D #8D221B
split-complementary
#4D8D1B #221B8D #8D1B86
monochromatic
#152607 #315A11 #4D8D1B #69C025 #88DC47

Accessibility & contrast

On white

4.08
#4D8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D1B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D1B#FFFFFF#000000##000000
##4D8D1B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d1b;
/* rgb */ color: rgb(77, 141, 27);
/* oklch */ color: oklch(57.8% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#85af62',
    500: '#4d8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d1b;
$custom-light: #85af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d1b",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 93.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5784,
    "c": 0.15655,
    "h": 135.1
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#4D8D1B
secondary
#8946BD
accent
#3DEB9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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