#4E8E18#4E8E18

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

Color values

HEX#4E8E18
RGBrgb(78, 142, 24)
HSLhsl(93, 71%, 33%)
HSVhsv(93, 83%, 56%)
CMYKcmyk(45.1%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.98, -39.86, 51.15)
CIE-LCHlch(52.98, 64.85, 127.93°)
OKLaboklab(58.14% -0.1118 0.1126)
OKLCHoklch(58.14% 0.159 134.8)
XYZxyz(12.9795, 21.0309, 4.2394)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E18 #58188E
analogous
#898E18 #4E8E18 #188E1D
triadic
#4E8E18 #184E8E #8E184E
tetradic
#4E8E18 #18898E #58188E #8E1D18
square
#4E8E18 #18898E #58188E #8E1D18
split-complementary
#4E8E18 #1D188E #8E1889
monochromatic
#142506 #315A0F #4E8E18 #6BC221 #8ADF41

Accessibility & contrast

On white

4.03
#4E8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E18
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E18#FFFFFF#000000##000000
##4E8E181.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8e18;
/* rgb */ color: rgb(78, 142, 24);
/* oklch */ color: oklch(58.1% 0.159 134.8);
Tailwind
colors: {
  custom: {
    50: '#86af61',
    500: '#4e8e18',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e18;
$custom-light: #86af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e18",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 92.542,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.1587,
    "h": 134.8
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#4E8E18
secondary
#8642C0
accent
#3AEE9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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