#4E9A1F#4E9A1F

#4E9A1F is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.4% C 0.170 H 136.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4E9A1F
RGBrgb(78, 154, 31)
HSLhsl(97, 66%, 36%)
HSVhsv(97, 80%, 60%)
CMYKcmyk(49.4%, 0%, 79.9%, 39.6%)
CIE-LABlab(56.91, -44.39, 52.67)
CIE-LCHlch(56.91, 68.89, 130.12°)
OKLaboklab(61.38% -0.1235 0.1169)
OKLCHoklch(61.38% 0.17 136.6)
XYZxyz(14.9444, 24.8288, 5.3010)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9A1F #6B1F9A
analogous
#8C9A1F #4E9A1F #1F9A2E
triadic
#4E9A1F #1F4E9A #9A1F4E
tetradic
#4E9A1F #1F8C9A #6B1F9A #9A2E1F
square
#4E9A1F #1F8C9A #6B1F9A #9A2E1F
split-complementary
#4E9A1F #2E1F9A #9A1F8C
monochromatic
#1A340A #346715 #4E9A1F #68CD29 #8ADD56

Accessibility & contrast

On white

3.52
#4E9A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#4E9A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9A1F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9A1F#FFFFFF#000000##000000
##4E9A1F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#4A9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e9a1f;
/* rgb */ color: rgb(78, 154, 31);
/* oklch */ color: oklch(61.4% 0.170 136.6);
Tailwind
colors: {
  custom: {
    50: '#87b865',
    500: '#4e9a1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e9a1f;
$custom-light: #87b865;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9a1f",
  "rgb": {
    "r": 78,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 97.073,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.17007,
    "h": 136.6
  },
  "luminance": 0.2483
}

Semantic roles & 50–950 ramp

primary
#4E9A1F
secondary
#9754C1
accent
#3EE9A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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