#4E8F1F#4E8F1F

#4E8F1F is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.156 H 135.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F1F
RGBrgb(78, 143, 31)
HSLhsl(95, 64%, 34%)
HSVhsv(95, 78%, 56%)
CMYKcmyk(45.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.34, -39.89, 49.29)
CIE-LCHlch(53.34, 63.41, 128.99°)
OKLaboklab(58.45% -0.1114 0.1098)
OKLCHoklch(58.45% 0.156 135.4)
XYZxyz(13.2114, 21.3628, 4.7233)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F1F #601F8F
analogous
#868F1F #4E8F1F #1F8F28
triadic
#4E8F1F #1F4E8F #8F1F4E
tetradic
#4E8F1F #1F868F #601F8F #8F281F
square
#4E8F1F #1F868F #601F8F #8F281F
split-complementary
#4E8F1F #281F8F #8F1F86
monochromatic
#172A09 #335D14 #4E8F1F #69C12A #89D94F

Accessibility & contrast

On white

3.98
#4E8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F1F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F1F#FFFFFF#000000##000000
##4E8F1F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f1f;
/* rgb */ color: rgb(78, 143, 31);
/* oklch */ color: oklch(58.4% 0.156 135.4);
Tailwind
colors: {
  custom: {
    50: '#86b064',
    500: '#4e8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f1f;
$custom-light: #86b064;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f1f",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 94.821,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.15644,
    "h": 135.4
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#4E8F1F
secondary
#8E4EBC
accent
#40E7A1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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