#4F9420#4F9420

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

Color values

HEX#4F9420
RGBrgb(79, 148, 32)
HSLhsl(96, 64%, 35%)
HSVhsv(96, 78%, 58%)
CMYKcmyk(46.6%, 0%, 78.4%, 42%)
CIE-LABlab(55.02, -41.58, 50.57)
CIE-LCHlch(55.02, 65.47, 129.43°)
OKLaboklab(59.84% -0.116 0.1126)
OKLCHoklch(59.84% 0.162 135.8)
XYZxyz(14.0747, 22.9455, 5.0535)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9420 #652094
analogous
#899420 #4F9420 #20942B
triadic
#4F9420 #204F94 #94204F
tetradic
#4F9420 #208994 #652094 #942B20
square
#4F9420 #208994 #652094 #942B20
split-complementary
#4F9420 #2B2094 #942089
monochromatic
#192F0A #346215 #4F9420 #6AC62B #8BDA54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F9420#FFFFFF#000000##000000
##4F94201.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)
#998702
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#4C8E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f9420;
/* rgb */ color: rgb(79, 148, 32);
/* oklch */ color: oklch(59.8% 0.162 135.8);
Tailwind
colors: {
  custom: {
    50: '#87b465',
    500: '#4f9420',
    950: '#000000',
  },
}
SCSS
$custom: #4f9420;
$custom-light: #87b465;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9420",
  "rgb": {
    "r": 79,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 95.69,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.16166,
    "h": 135.8
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

primary
#4F9420
secondary
#9252BE
accent
#40E7A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9420

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

Preview Lab → · Contrast checker → · Palette generator →

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