#4F8E18#4F8E18

#4F8E18 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.158 H 134.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F8E18
RGBrgb(79, 142, 24)
HSLhsl(92, 71%, 33%)
HSVhsv(92, 83%, 56%)
CMYKcmyk(44.4%, 0%, 83.1%, 44.3%)
CIE-LABlab(53.03, -39.52, 51.21)
CIE-LCHlch(53.03, 64.68, 127.66°)
OKLaboklab(58.19% -0.1109 0.1127)
OKLCHoklch(58.19% 0.158 134.5)
XYZxyz(13.0621, 21.0735, 4.2433)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E18 #57188E
analogous
#8A8E18 #4F8E18 #188E1C
triadic
#4F8E18 #184F8E #8E184F
tetradic
#4F8E18 #188A8E #57188E #8E1C18
square
#4F8E18 #188A8E #57188E #8E1C18
split-complementary
#4F8E18 #1C188E #8E188A
monochromatic
#152506 #325A0F #4F8E18 #6CC221 #8BDF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E18#FFFFFF#000000##000000
##4F8E181.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)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e18;
/* rgb */ color: rgb(79, 142, 24);
/* oklch */ color: oklch(58.2% 0.158 134.5);
Tailwind
colors: {
  custom: {
    50: '#87af61',
    500: '#4f8e18',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e18;
$custom-light: #87af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e18",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 92.034,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.15816,
    "h": 134.5
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

primary
#4F8E18
secondary
#8542C0
accent
#3AEE9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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