#4E9B1F#4E9B1F

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

Color values

HEX#4E9B1F
RGBrgb(78, 155, 31)
HSLhsl(97, 67%, 36%)
HSVhsv(97, 80%, 61%)
CMYKcmyk(49.7%, 0%, 80%, 39.2%)
CIE-LABlab(57.23, -44.79, 52.98)
CIE-LCHlch(57.23, 69.38, 130.21°)
OKLaboklab(61.64% -0.1246 0.1175)
OKLCHoklch(61.64% 0.171 136.7)
XYZxyz(15.1101, 25.1603, 5.3563)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9B1F #6C1F9B
analogous
#8C9B1F #4E9B1F #1F9B2E
triadic
#4E9B1F #1F4E9B #9B1F4E
tetradic
#4E9B1F #1F8C9B #6C1F9B #9B2E1F
square
#4E9B1F #1F8C9B #6C1F9B #9B2E1F
split-complementary
#4E9B1F #2E1F9B #9B1F8C
monochromatic
#1B350B #346815 #4E9B1F #68CE29 #8ADD57

Accessibility & contrast

On white

3.48
#4E9B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#4E9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9B1F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9B1F#FFFFFF#000000##000000
##4E9B1F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#4A9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e9b1f;
/* rgb */ color: rgb(78, 155, 31);
/* oklch */ color: oklch(61.6% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b966',
    500: '#4e9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e9b1f;
$custom-light: #87b966;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9b1f",
  "rgb": {
    "r": 78,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 97.258,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.17129,
    "h": 136.7
  },
  "luminance": 0.25161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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