#4E8E11#4E8E11

#4E8E11 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.161 H 134.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E8E11
RGBrgb(78, 142, 17)
HSLhsl(91, 79%, 31%)
HSVhsv(91, 88%, 56%)
CMYKcmyk(45.1%, 0%, 88%, 44.3%)
CIE-LABlab(52.96, -40.16, 52.94)
CIE-LCHlch(52.96, 66.45, 127.19°)
OKLaboklab(58.11% -0.113 0.1154)
OKLCHoklch(58.11% 0.161 134.4)
XYZxyz(12.9158, 21.0054, 3.9041)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E11 #51118E
analogous
#8C8E11 #4E8E11 #118E12
triadic
#4E8E11 #114E8E #8E114E
tetradic
#4E8E11 #118C8E #51118E #8E1211
square
#4E8E11 #118C8E #51118E #8E1211
split-complementary
#4E8E11 #12118E #8E118C
monochromatic
#122104 #30570A #4E8E11 #6CC518 #8BE733

Accessibility & contrast

On white

4.04
#4E8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4E8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E11
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E11#FFFFFF#000000##000000
##4E8E111.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D22
Tritanopia (blue-blind)
#4D8878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8e11;
/* rgb */ color: rgb(78, 142, 17);
/* oklch */ color: oklch(58.1% 0.161 134.4);
Tailwind
colors: {
  custom: {
    50: '#86af5e',
    500: '#4e8e11',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e11;
$custom-light: #86af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e11",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 90.72,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.16147,
    "h": 134.4
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#4E8E11
secondary
#7F38C2
accent
#33F596
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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