#4D8E1A#4D8E1A

#4D8E1A is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.158 H 135.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D8E1A
RGBrgb(77, 142, 26)
HSLhsl(94, 69%, 33%)
HSVhsv(94, 82%, 56%)
CMYKcmyk(45.8%, 0%, 81.7%, 44.3%)
CIE-LABlab(52.95, -40.10, 50.51)
CIE-LCHlch(52.95, 64.49, 128.45°)
OKLaboklab(58.1% -0.1122 0.1116)
OKLCHoklch(58.1% 0.158 135.2)
XYZxyz(12.9197, 20.9976, 4.3492)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E1A #5B1A8E
analogous
#878E1A #4D8E1A #1A8E21
triadic
#4D8E1A #1A4D8E #8E1A4D
tetradic
#4D8E1A #1A878E #5B1A8E #8E211A
square
#4D8E1A #1A878E #5B1A8E #8E211A
split-complementary
#4D8E1A #211A8E #8E1A87
monochromatic
#152707 #315A11 #4D8E1A #69C223 #88DD45

Accessibility & contrast

On white

4.04
#4D8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4D8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E1A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E1A#FFFFFF#000000##000000
##4D8E1A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e1a;
/* rgb */ color: rgb(77, 142, 26);
/* oklch */ color: oklch(58.1% 0.158 135.2);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4d8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e1a;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e1a",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 93.621,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.15829,
    "h": 135.2
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#4D8E1A
secondary
#8945BE
accent
#3CEC9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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