#4D8A1B#4D8A1B

#4D8A1B is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.153 H 134.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8A1B
RGBrgb(77, 138, 27)
HSLhsl(93, 67%, 32%)
HSVhsv(93, 80%, 54%)
CMYKcmyk(44.2%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.65, -38.36, 48.98)
CIE-LCHlch(51.65, 62.22, 128.07°)
OKLaboklab(57.04% -0.1075 0.1086)
OKLCHoklch(57.04% 0.153 134.7)
XYZxyz(12.3466, 19.8332, 4.2143)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A1B #581B8A
analogous
#858A1B #4D8A1B #1B8A20
triadic
#4D8A1B #1B4D8A #8A1B4D
tetradic
#4D8A1B #1B858A #581B8A #8A201B
square
#4D8A1B #1B858A #581B8A #8A201B
split-complementary
#4D8A1B #201B8A #8A1B85
monochromatic
#142407 #305711 #4D8A1B #6ABD25 #88DB45

Accessibility & contrast

On white

4.23
#4D8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A1B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A1B#FFFFFF#000000##000000
##4D8A1B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#4C8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a1b;
/* rgb */ color: rgb(77, 138, 27);
/* oklch */ color: oklch(57.0% 0.153 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ac61',
    500: '#4d8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a1b;
$custom-light: #85ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a1b",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 92.973,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.15279,
    "h": 134.7
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#4D8A1B
secondary
#8645BC
accent
#3EEA9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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