#4F9A22#4F9A22

#4F9A22 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.4% C 0.168 H 136.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4F9A22
RGBrgb(79, 154, 34)
HSLhsl(98, 64%, 37%)
HSVhsv(98, 78%, 60%)
CMYKcmyk(48.7%, 0%, 77.9%, 39.6%)
CIE-LABlab(56.97, -43.90, 51.77)
CIE-LCHlch(56.97, 67.88, 130.30°)
OKLaboklab(61.44% -0.1221 0.1155)
OKLCHoklch(61.44% 0.168 136.6)
XYZxyz(15.0684, 24.8879, 5.5229)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9A22 #6D229A
analogous
#8B9A22 #4F9A22 #229A31
triadic
#4F9A22 #224F9A #9A224F
tetradic
#4F9A22 #228B9A #6D229A #9A3122
square
#4F9A22 #228B9A #6D229A #9A3122
split-complementary
#4F9A22 #31229A #9A228B
monochromatic
#1C360C #356817 #4F9A22 #69CC2D #8BDB5B

Accessibility & contrast

On white

3.51
#4F9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#4F9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9A22
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9A22#FFFFFF#000000##000000
##4F9A221.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D03
Deuteranopia (green-blind)
#96862F
Tritanopia (blue-blind)
#4B9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4f9a22;
/* rgb */ color: rgb(79, 154, 34);
/* oklch */ color: oklch(61.4% 0.168 136.6);
Tailwind
colors: {
  custom: {
    50: '#88b867',
    500: '#4f9a22',
    950: '#000000',
  },
}
SCSS
$custom: #4f9a22;
$custom-light: #88b867;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9a22",
  "rgb": {
    "r": 79,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 97.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.16802,
    "h": 136.6
  },
  "luminance": 0.24889
}

Semantic roles & 50–950 ramp

primary
#4F9A22
secondary
#9958BF
accent
#41E7A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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