#4E931F#4E931F

#4E931F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.5% C 0.161 H 135.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E931F
RGBrgb(78, 147, 31)
HSLhsl(96, 65%, 35%)
HSVhsv(96, 79%, 58%)
CMYKcmyk(46.9%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.64, -41.56, 50.53)
CIE-LCHlch(54.64, 65.42, 129.43°)
OKLaboklab(59.51% -0.1159 0.1124)
OKLCHoklch(59.51% 0.161 135.9)
XYZxyz(13.8226, 22.5852, 4.9271)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E931F #641F93
analogous
#88931F #4E931F #1F932A
triadic
#4E931F #1F4E93 #931F4E
tetradic
#4E931F #1F8893 #641F93 #932A1F
square
#4E931F #1F8893 #641F93 #932A1F
split-complementary
#4E931F #2A1F93 #931F88
monochromatic
#182E0A #336014 #4E931F #69C62A #89DA52

Accessibility & contrast

On white

3.81
#4E931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4E931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E931F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E931F#FFFFFF#000000##000000
##4E931F1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#4B8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e931f;
/* rgb */ color: rgb(78, 147, 31);
/* oklch */ color: oklch(59.5% 0.161 135.9);
Tailwind
colors: {
  custom: {
    50: '#86b364',
    500: '#4e931f',
    950: '#000000',
  },
}
SCSS
$custom: #4e931f;
$custom-light: #86b364;
$custom-dark: #000000;
JSON
{
  "hex": "#4e931f",
  "rgb": {
    "r": 78,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 95.69,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.16146,
    "h": 135.9
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#4E931F
secondary
#9150BE
accent
#40E8A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E931F

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

Preview Lab → · Contrast checker → · Palette generator →

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