#4F9D22#4F9D22

#4F9D22 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.2% C 0.172 H 136.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4F9D22
RGBrgb(79, 157, 34)
HSLhsl(98, 64%, 37%)
HSVhsv(98, 78%, 62%)
CMYKcmyk(49.7%, 0%, 78.3%, 38.4%)
CIE-LABlab(57.93, -45.10, 52.70)
CIE-LCHlch(57.93, 69.36, 130.56°)
OKLaboklab(62.24% -0.1253 0.1174)
OKLCHoklch(62.24% 0.172 136.9)
XYZxyz(15.5697, 25.8906, 5.6900)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9D22 #70229D
analogous
#8C9D22 #4F9D22 #229D33
triadic
#4F9D22 #224F9D #9D224F
tetradic
#4F9D22 #228C9D #70229D #9D3322
square
#4F9D22 #228C9D #70229D #9D3322
split-complementary
#4F9D22 #33229D #9D228C
monochromatic
#1C380C #366B17 #4F9D22 #68CF2D #8CDC5D

Accessibility & contrast

On white

3.40
#4F9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#4F9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9D22
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9D22#FFFFFF#000000##000000
##4F9D221.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F01
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#4B9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f9d22;
/* rgb */ color: rgb(79, 157, 34);
/* oklch */ color: oklch(62.2% 0.172 136.9);
Tailwind
colors: {
  custom: {
    50: '#88ba67',
    500: '#4f9d22',
    950: '#000000',
  },
}
SCSS
$custom: #4f9d22;
$custom-light: #88ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9d22",
  "rgb": {
    "r": 79,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 98.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.17171,
    "h": 136.9
  },
  "luminance": 0.25892
}

Semantic roles & 50–950 ramp

primary
#4F9D22
secondary
#9B5AC1
accent
#40E7AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4F9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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