#4E8A1E#4E8A1E

#4E8A1E is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.151 H 134.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E8A1E
RGBrgb(78, 138, 30)
HSLhsl(93, 64%, 33%)
HSVhsv(93, 78%, 54%)
CMYKcmyk(43.5%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.71, -37.84, 48.06)
CIE-LCHlch(51.71, 61.17, 128.21°)
OKLaboklab(57.11% -0.1059 0.1071)
OKLCHoklch(57.11% 0.151 134.7)
XYZxyz(12.4644, 19.8897, 4.4104)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A1E #5A1E8A
analogous
#848A1E #4E8A1E #1E8A24
triadic
#4E8A1E #1E4E8A #8A1E4E
tetradic
#4E8A1E #1E848A #5A1E8A #8A241E
square
#4E8A1E #1E848A #5A1E8A #8A241E
split-complementary
#4E8A1E #241E8A #8A1E84
monochromatic
#152508 #325813 #4E8A1E #6ABC29 #89D84B

Accessibility & contrast

On white

4.22
#4E8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A1E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A1E#FFFFFF#000000##000000
##4E8A1E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#4D8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a1e;
/* rgb */ color: rgb(78, 138, 30);
/* oklch */ color: oklch(57.1% 0.151 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ac63',
    500: '#4e8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a1e;
$custom-light: #85ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a1e",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 93.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.15064,
    "h": 134.7
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#4E8A1E
secondary
#884ABA
accent
#41E79D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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