#4D8B18#4D8B18

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

Color values

HEX#4D8B18
RGBrgb(77, 139, 24)
HSLhsl(92, 71%, 32%)
HSVhsv(92, 83%, 55%)
CMYKcmyk(44.6%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.96, -38.95, 50.20)
CIE-LCHlch(51.96, 63.53, 127.81°)
OKLaboklab(57.29% -0.1093 0.1107)
OKLCHoklch(57.29% 0.156 134.6)
XYZxyz(12.4578, 20.1083, 4.0888)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B18 #56188B
analogous
#878B18 #4D8B18 #188B1D
triadic
#4D8B18 #184D8B #8B184D
tetradic
#4D8B18 #18878B #56188B #8B1D18
square
#4D8B18 #18878B #56188B #8B1D18
split-complementary
#4D8B18 #1D188B #8B1887
monochromatic
#132306 #30570F #4D8B18 #6ABF21 #88DE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8B18#FFFFFF#000000##000000
##4D8B181.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)
#917F00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8b18;
/* rgb */ color: rgb(77, 139, 24);
/* oklch */ color: oklch(57.3% 0.155 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ad60',
    500: '#4d8b18',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b18;
$custom-light: #85ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b18",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 92.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.1555,
    "h": 134.6
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#4D8B18
secondary
#8440BE
accent
#3AED9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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