#4F8F22#4F8F22

#4F8F22 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.154 H 135.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F8F22
RGBrgb(79, 143, 34)
HSLhsl(95, 62%, 35%)
HSVhsv(95, 76%, 56%)
CMYKcmyk(44.8%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.41, -39.36, 48.31)
CIE-LCHlch(53.41, 62.32, 129.17°)
OKLaboklab(58.52% -0.1099 0.1082)
OKLCHoklch(58.52% 0.154 135.4)
XYZxyz(13.3353, 21.4219, 4.9452)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F22 #62228F
analogous
#868F22 #4F8F22 #228F2B
triadic
#4F8F22 #224F8F #8F224F
tetradic
#4F8F22 #22868F #62228F #8F2B22
square
#4F8F22 #22868F #62228F #8F2B22
split-complementary
#4F8F22 #2B228F #8F2286
monochromatic
#182C0A #345E16 #4F8F22 #6AC02E #8AD755

Accessibility & contrast

On white

3.97
#4F8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4F8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F22
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F22#FFFFFF#000000##000000
##4F8F221.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#4D897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f8f22;
/* rgb */ color: rgb(79, 143, 34);
/* oklch */ color: oklch(58.5% 0.154 135.4);
Tailwind
colors: {
  custom: {
    50: '#86b065',
    500: '#4f8f22',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f22;
$custom-light: #86b065;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f22",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 95.229,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.15421,
    "h": 135.4
  },
  "luminance": 0.21423
}

Semantic roles & 50–950 ramp

primary
#4F8F22
secondary
#8F52BA
accent
#43E5A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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