#4E901F#4E901F

#4E901F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.7% C 0.158 H 135.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E901F
RGBrgb(78, 144, 31)
HSLhsl(95, 65%, 34%)
HSVhsv(95, 78%, 56%)
CMYKcmyk(45.8%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.67, -40.31, 49.60)
CIE-LCHlch(53.67, 63.91, 129.10°)
OKLaboklab(58.72% -0.1126 0.1105)
OKLCHoklch(58.72% 0.158 135.5)
XYZxyz(13.3621, 21.6643, 4.7736)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E901F #611F90
analogous
#87901F #4E901F #1F9029
triadic
#4E901F #1F4E90 #901F4E
tetradic
#4E901F #1F8790 #611F90 #90291F
square
#4E901F #1F8790 #611F90 #90291F
split-complementary
#4E901F #291F90 #901F87
monochromatic
#172B09 #335E14 #4E901F #69C22A #89D950

Accessibility & contrast

On white

3.94
#4E901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E901F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E901F#FFFFFF#000000##000000
##4E901F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#4C8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e901f;
/* rgb */ color: rgb(78, 144, 31);
/* oklch */ color: oklch(58.7% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#86b164',
    500: '#4e901f',
    950: '#000000',
  },
}
SCSS
$custom: #4e901f;
$custom-light: #86b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e901f",
  "rgb": {
    "r": 78,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 95.044,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.15771,
    "h": 135.5
  },
  "luminance": 0.21665
}

Semantic roles & 50–950 ramp

primary
#4E901F
secondary
#8F4EBC
accent
#40E8A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E901F

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

Preview Lab → · Contrast checker → · Palette generator →

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