#4D8A1E#4D8A1E

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

Color values

HEX#4D8A1E
RGBrgb(77, 138, 30)
HSLhsl(94, 64%, 33%)
HSVhsv(94, 78%, 54%)
CMYKcmyk(44.2%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.66, -38.18, 48.00)
CIE-LCHlch(51.66, 61.33, 128.50°)
OKLaboklab(57.06% -0.1068 0.107)
OKLCHoklch(57.06% 0.151 135)
XYZxyz(12.3831, 19.8478, 4.4066)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A1E #5B1E8A
analogous
#838A1E #4D8A1E #1E8A25
triadic
#4D8A1E #1E4D8A #8A1E4D
tetradic
#4D8A1E #1E838A #5B1E8A #8A251E
square
#4D8A1E #1E838A #5B1E8A #8A251E
split-complementary
#4D8A1E #251E8A #8A1E83
monochromatic
#152508 #315813 #4D8A1E #69BC29 #88D84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8A1E#FFFFFF#000000##000000
##4D8A1E1.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)
#8F7E04
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a1e;
/* rgb */ color: rgb(77, 138, 30);
/* oklch */ color: oklch(57.1% 0.151 135.0);
Tailwind
colors: {
  custom: {
    50: '#85ac63',
    500: '#4d8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a1e;
$custom-light: #85ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a1e",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 93.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.15118,
    "h": 135
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#4D8A1E
secondary
#894ABA
accent
#41E79F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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