#4F9322#4F9322

#4F9322 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.6% C 0.159 H 135.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F9322
RGBrgb(79, 147, 34)
HSLhsl(96, 62%, 35%)
HSVhsv(96, 77%, 58%)
CMYKcmyk(46.3%, 0%, 76.9%, 42.4%)
CIE-LABlab(54.70, -41.04, 49.58)
CIE-LCHlch(54.70, 64.36, 129.62°)
OKLaboklab(59.58% -0.1144 0.1109)
OKLCHoklch(59.58% 0.159 135.9)
XYZxyz(13.9465, 22.6443, 5.1490)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9322 #662293
analogous
#879322 #4F9322 #22932D
triadic
#4F9322 #224F93 #93224F
tetradic
#4F9322 #228793 #662293 #932D22
square
#4F9322 #228793 #662293 #932D22
split-complementary
#4F9322 #2D2293 #932287
monochromatic
#1A300B #346117 #4F9322 #6AC52D #8BD857

Accessibility & contrast

On white

3.80
#4F9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4F9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9322
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9322#FFFFFF#000000##000000
##4F93221.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988608
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#4C8D7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f9322;
/* rgb */ color: rgb(79, 147, 34);
/* oklch */ color: oklch(59.6% 0.159 135.9);
Tailwind
colors: {
  custom: {
    50: '#87b366',
    500: '#4f9322',
    950: '#000000',
  },
}
SCSS
$custom: #4f9322;
$custom-light: #87b366;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9322",
  "rgb": {
    "r": 79,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 96.106,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.1593,
    "h": 135.9
  },
  "luminance": 0.22645
}

Semantic roles & 50–950 ramp

primary
#4F9322
secondary
#9355BC
accent
#42E5A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9322

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

Preview Lab → · Contrast checker → · Palette generator →

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