#4F8A18#4F8A18

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

Color values

HEX#4F8A18
RGBrgb(79, 138, 24)
HSLhsl(91, 70%, 32%)
HSVhsv(91, 83%, 54%)
CMYKcmyk(42.8%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.73, -37.82, 50.02)
CIE-LCHlch(51.73, 62.71, 127.09°)
OKLaboklab(57.13% -0.1064 0.1102)
OKLCHoklch(57.13% 0.153 134)
XYZxyz(12.4776, 19.9045, 4.0485)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A18 #53188A
analogous
#888A18 #4F8A18 #188A1A
triadic
#4F8A18 #184F8A #8A184F
tetradic
#4F8A18 #18888A #53188A #8A1A18
square
#4F8A18 #18888A #53188A #8A1A18
split-complementary
#4F8A18 #1A188A #8A1888
monochromatic
#132206 #31560F #4F8A18 #6DBE21 #8BDE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8A18#FFFFFF#000000##000000
##4F8A181.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)
#907E00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a18;
/* rgb */ color: rgb(79, 138, 24);
/* oklch */ color: oklch(57.1% 0.153 134.0);
Tailwind
colors: {
  custom: {
    50: '#86ac60',
    500: '#4f8a18',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a18;
$custom-light: #86ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a18",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 91.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.15319,
    "h": 134
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#4F8A18
secondary
#8140BD
accent
#3BED97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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