#4F9422#4F9422

#4F9422 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 59.8% C 0.161 H 136.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4F9422
RGBrgb(79, 148, 34)
HSLhsl(96, 63%, 36%)
HSVhsv(96, 77%, 58%)
CMYKcmyk(46.6%, 0%, 77%, 42%)
CIE-LABlab(55.03, -41.45, 49.89)
CIE-LCHlch(55.03, 64.87, 129.72°)
OKLaboklab(59.85% -0.1155 0.1115)
OKLCHoklch(59.85% 0.161 136)
XYZxyz(14.1027, 22.9567, 5.2010)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9422 #672294
analogous
#889422 #4F9422 #22942E
triadic
#4F9422 #224F94 #94224F
tetradic
#4F9422 #228894 #672294 #942E22
square
#4F9422 #228894 #672294 #942E22
split-complementary
#4F9422 #2E2294 #942288
monochromatic
#1A300B #346217 #4F9422 #6AC62D #8BD958

Accessibility & contrast

On white

3.76
#4F9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4F9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9422
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9422#FFFFFF#000000##000000
##4F94221.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998707
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#4C8E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f9422;
/* rgb */ color: rgb(79, 148, 34);
/* oklch */ color: oklch(59.8% 0.161 136.0);
Tailwind
colors: {
  custom: {
    50: '#87b466',
    500: '#4f9422',
    950: '#000000',
  },
}
SCSS
$custom: #4f9422;
$custom-light: #87b466;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9422",
  "rgb": {
    "r": 79,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 96.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.16056,
    "h": 136
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#4F9422
secondary
#9455BD
accent
#42E6A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9422

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

Preview Lab → · Contrast checker → · Palette generator →

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