#4FB226#4FB226

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

Color values

HEX#4FB226
RGBrgb(79, 178, 38)
HSLhsl(102, 65%, 42%)
HSVhsv(102, 79%, 70%)
CMYKcmyk(55.6%, 0%, 78.7%, 30.2%)
CIE-LABlab(64.68, -52.88, 57.85)
CIE-LCHlch(64.68, 78.38, 132.43°)
OKLaboklab(67.8% -0.146 0.1288)
OKLCHoklch(67.8% 0.195 138.6)
XYZxyz(19.4940, 33.6414, 7.2995)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB226 #8926B2
analogous
#95B226 #4FB226 #26B243
triadic
#4FB226 #264FB2 #B2264F
tetradic
#4FB226 #2695B2 #8926B2 #B24326
square
#4FB226 #2695B2 #8926B2 #B24326
split-complementary
#4FB226 #4326B2 #B22695
monochromatic
#224D10 #39801B #4FB226 #6BD63F #92E172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4FB226#FFFFFF#000000##000000
##4FB2261.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)
#B8A200
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#46AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4fb226;
/* rgb */ color: rgb(79, 178, 38);
/* oklch */ color: oklch(67.8% 0.195 138.6);
Tailwind
colors: {
  custom: {
    50: '#8bca6c',
    500: '#4fb226',
    950: '#000000',
  },
}
SCSS
$custom: #4fb226;
$custom-light: #8bca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb226",
  "rgb": {
    "r": 79,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 102.429,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.19466,
    "h": 138.6
  },
  "luminance": 0.33643
}

Semantic roles & 50–950 ramp

primary
#4FB226
secondary
#AD6CC8
accent
#40E8B7
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FB226

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

Preview Lab → · Contrast checker → · Palette generator →

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