#4D8E1F#4D8E1F

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

Color values

HEX#4D8E1F
RGBrgb(77, 142, 31)
HSLhsl(95, 64%, 34%)
HSVhsv(95, 78%, 56%)
CMYKcmyk(45.8%, 0%, 78.2%, 44.3%)
CIE-LABlab(52.97, -39.81, 48.91)
CIE-LCHlch(52.97, 63.07, 129.14°)
OKLaboklab(58.13% -0.1111 0.1091)
OKLCHoklch(58.13% 0.156 135.5)
XYZxyz(12.9806, 21.0219, 4.6697)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E1F #601F8E
analogous
#858E1F #4D8E1F #1F8E29
triadic
#4D8E1F #1F4D8E #8E1F4D
tetradic
#4D8E1F #1F858E #601F8E #8E291F
square
#4D8E1F #1F858E #601F8E #8E291F
split-complementary
#4D8E1F #291F8E #8E1F85
monochromatic
#172A09 #325C14 #4D8E1F #68C02A #88D94F

Accessibility & contrast

On white

4.03
#4D8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8E1F#FFFFFF#000000##000000
##4D8E1F1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8e1f;
/* rgb */ color: rgb(77, 142, 31);
/* oklch */ color: oklch(58.1% 0.156 135.5);
Tailwind
colors: {
  custom: {
    50: '#85af64',
    500: '#4d8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e1f;
$custom-light: #85af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e1f",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 95.135,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.15571,
    "h": 135.5
  },
  "luminance": 0.21023
}

Semantic roles & 50–950 ramp

primary
#4D8E1F
secondary
#8E4DBB
accent
#41E7A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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