#4F9222#4F9222

#4F9222 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.3% C 0.158 H 135.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F9222
RGBrgb(79, 146, 34)
HSLhsl(96, 62%, 35%)
HSVhsv(96, 77%, 57%)
CMYKcmyk(45.9%, 0%, 76.7%, 42.7%)
CIE-LABlab(54.38, -40.62, 49.26)
CIE-LCHlch(54.38, 63.85, 129.51°)
OKLaboklab(59.32% -0.1133 0.1102)
OKLCHoklch(59.32% 0.158 135.8)
XYZxyz(13.7917, 22.3347, 5.0974)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9222 #652292
analogous
#879222 #4F9222 #22922D
triadic
#4F9222 #224F92 #92224F
tetradic
#4F9222 #228792 #652292 #922D22
square
#4F9222 #228792 #652292 #922D22
split-complementary
#4F9222 #2D2292 #922287
monochromatic
#192F0B #346016 #4F9222 #6AC42E #8BD857

Accessibility & contrast

On white

3.84
#4F9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4F9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9222
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9222#FFFFFF#000000##000000
##4F92221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978609
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#4D8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f9222;
/* rgb */ color: rgb(79, 146, 34);
/* oklch */ color: oklch(59.3% 0.158 135.8);
Tailwind
colors: {
  custom: {
    50: '#87b266',
    500: '#4f9222',
    950: '#000000',
  },
}
SCSS
$custom: #4f9222;
$custom-light: #87b266;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9222",
  "rgb": {
    "r": 79,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 95.893,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.15803,
    "h": 135.8
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#4F9222
secondary
#9254BC
accent
#43E5A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9222

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

Preview Lab → · Contrast checker → · Palette generator →

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