#4FA228#4FA228

#4FA228 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.175 H 137.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4FA228
RGBrgb(79, 162, 40)
HSLhsl(101, 60%, 40%)
HSVhsv(101, 75%, 64%)
CMYKcmyk(51.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.58, -46.68, 52.24)
CIE-LCHlch(59.58, 70.06, 131.78°)
OKLaboklab(63.6% -0.1292 0.1173)
OKLCHoklch(63.6% 0.175 137.8)
XYZxyz(16.5272, 27.6549, 6.4741)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA228 #7B28A2
analogous
#8CA228 #4FA228 #28A23E
triadic
#4FA228 #284FA2 #A2284F
tetradic
#4FA228 #288CA2 #7B28A2 #A23E28
square
#4FA228 #288CA2 #7B28A2 #A23E28
split-complementary
#4FA228 #3E28A2 #A2288C
monochromatic
#1F4010 #37711C #4FA228 #69CE39 #8EDA6A

Accessibility & contrast

On white

3.22
#4FA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#4FA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA228
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA228#FFFFFF#000000##000000
##4FA2281.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#499C8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4fa228;
/* rgb */ color: rgb(79, 162, 40);
/* oklch */ color: oklch(63.6% 0.175 137.8);
Tailwind
colors: {
  custom: {
    50: '#89be6b',
    500: '#4fa228',
    950: '#000000',
  },
}
SCSS
$custom: #4fa228;
$custom-light: #89be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa228",
  "rgb": {
    "r": 79,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 100.82,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.636,
    "c": 0.17452,
    "h": 137.8
  },
  "luminance": 0.27656
}

Semantic roles & 50–950 ramp

primary
#4FA228
secondary
#A365C1
accent
#44E4B1
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA228

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

Preview Lab → · Contrast checker → · Palette generator →

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