#4F8E22#4F8E22

#4F8E22 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.153 H 135.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F8E22
RGBrgb(79, 142, 34)
HSLhsl(95, 61%, 35%)
HSVhsv(95, 76%, 56%)
CMYKcmyk(44.4%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.08, -38.94, 47.99)
CIE-LCHlch(53.08, 61.80, 129.05°)
OKLaboklab(58.25% -0.1087 0.1076)
OKLCHoklch(58.25% 0.153 135.3)
XYZxyz(13.1859, 21.1230, 4.8954)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E22 #61228E
analogous
#858E22 #4F8E22 #228E2B
triadic
#4F8E22 #224F8E #8E224F
tetradic
#4F8E22 #22858E #61228E #8E2B22
square
#4F8E22 #22858E #61228E #8E2B22
split-complementary
#4F8E22 #2B228E #8E2285
monochromatic
#182B0A #345D16 #4F8E22 #6ABF2E #8AD654

Accessibility & contrast

On white

4.02
#4F8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E22
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E22#FFFFFF#000000##000000
##4F8E221.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e22;
/* rgb */ color: rgb(79, 142, 34);
/* oklch */ color: oklch(58.3% 0.153 135.3);
Tailwind
colors: {
  custom: {
    50: '#86af65',
    500: '#4f8e22',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e22;
$custom-light: #86af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e22",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 95,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.15293,
    "h": 135.3
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#4F8E22
secondary
#8F52BA
accent
#43E4A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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