#4D9A1E#4D9A1E

#4D9A1E is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.3% C 0.171 H 136.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D9A1E
RGBrgb(77, 154, 30)
HSLhsl(97, 67%, 36%)
HSVhsv(97, 81%, 60%)
CMYKcmyk(50%, 0%, 80.5%, 39.6%)
CIE-LABlab(56.86, -44.76, 52.93)
CIE-LCHlch(56.86, 69.32, 130.22°)
OKLaboklab(61.33% -0.1245 0.1173)
OKLCHoklch(61.33% 0.171 136.7)
XYZxyz(14.8501, 24.7817, 5.2289)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9A1E #6B1E9A
analogous
#8B9A1E #4D9A1E #1E9A2D
triadic
#4D9A1E #1E4D9A #9A1E4D
tetradic
#4D9A1E #1E8B9A #6B1E9A #9A2D1E
square
#4D9A1E #1E8B9A #6B1E9A #9A2D1E
split-complementary
#4D9A1E #2D1E9A #9A1E8B
monochromatic
#1A340A #336714 #4D9A1E #67CD28 #89DE55

Accessibility & contrast

On white

3.53
#4D9A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#4D9A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9A1E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9A1E#FFFFFF#000000##000000
##4D9A1E1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#499483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d9a1e;
/* rgb */ color: rgb(77, 154, 30);
/* oklch */ color: oklch(61.3% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b865',
    500: '#4d9a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d9a1e;
$custom-light: #87b865;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9a1e",
  "rgb": {
    "r": 77,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 97.258,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.17107,
    "h": 136.7
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#4D9A1E
secondary
#9753C1
accent
#3EEAA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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