#4FB228#4FB228

#4FB228 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.194 H 138.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4FB228
RGBrgb(79, 178, 40)
HSLhsl(103, 63%, 43%)
HSVhsv(103, 78%, 70%)
CMYKcmyk(55.6%, 0%, 77.5%, 30.2%)
CIE-LABlab(64.69, -52.76, 57.23)
CIE-LCHlch(64.69, 77.84, 132.67°)
OKLaboklab(67.81% -0.1456 0.1277)
OKLCHoklch(67.81% 0.194 138.7)
XYZxyz(19.5271, 33.6546, 7.4741)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB228 #8B28B2
analogous
#94B228 #4FB228 #28B246
triadic
#4FB228 #284FB2 #B2284F
tetradic
#4FB228 #2894B2 #8B28B2 #B24628
square
#4FB228 #2894B2 #8B28B2 #B24628
split-complementary
#4FB228 #4628B2 #B22894
monochromatic
#234E12 #39801D #4FB228 #6CD543 #93E075

Accessibility & contrast

On white

2.72
#4FB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#4FB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB228
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB228#FFFFFF#000000##000000
##4FB2281.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A202
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#45AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4fb228;
/* rgb */ color: rgb(79, 178, 40);
/* oklch */ color: oklch(67.8% 0.194 138.7);
Tailwind
colors: {
  custom: {
    50: '#8bca6d',
    500: '#4fb228',
    950: '#000000',
  },
}
SCSS
$custom: #4fb228;
$custom-light: #8bca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb228",
  "rgb": {
    "r": 79,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 103.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67813,
    "c": 0.19366,
    "h": 138.7
  },
  "luminance": 0.33656
}

Semantic roles & 50–950 ramp

primary
#4FB228
secondary
#AE6FC7
accent
#41E6B8
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4FB228

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

Preview Lab → · Contrast checker → · Palette generator →

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