#4E8118#4E8118

#4E8118 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.142 H 132.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E8118
RGBrgb(78, 129, 24)
HSLhsl(89, 69%, 30%)
HSVhsv(89, 81%, 51%)
CMYKcmyk(39.5%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.74, -34.25, 47.24)
CIE-LCHlch(48.74, 58.35, 125.94°)
OKLaboklab(54.67% -0.0967 0.1044)
OKLCHoklch(54.67% 0.142 132.8)
XYZxyz(11.1569, 17.3856, 3.6319)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8118 #4B1881
analogous
#817F18 #4E8118 #1A8118
triadic
#4E8118 #184E81 #81184E
tetradic
#4E8118 #18817F #4B1881 #81181A
square
#4E8118 #18817F #4B1881 #81181A
split-complementary
#4E8118 #181A81 #7F1881
monochromatic
#101A05 #2F4D0E #4E8118 #6DB522 #8CDA39

Accessibility & contrast

On white

4.69
#4E8118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8118
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8118#FFFFFF#000000##FFFFFF
##4E81181.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#4E7B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8118;
/* rgb */ color: rgb(78, 129, 24);
/* oklch */ color: oklch(54.7% 0.142 132.8);
Tailwind
colors: {
  custom: {
    50: '#85a65f',
    500: '#4e8118',
    950: '#000000',
  },
}
SCSS
$custom: #4e8118;
$custom-light: #85a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8118",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 89.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54666,
    "c": 0.14232,
    "h": 132.8
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#4E8118
secondary
#7940B5
accent
#3CEB91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8118

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

Preview Lab → · Contrast checker → · Palette generator →

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