#4FB12A#4FB12A

#4FB12A is a light, vivid green. Relative luminance 0.333; OKLCH L 67.6% C 0.191 H 138.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4FB12A
RGBrgb(79, 177, 42)
HSLhsl(104, 62%, 43%)
HSVhsv(104, 76%, 69%)
CMYKcmyk(55.4%, 0%, 76.3%, 30.6%)
CIE-LABlab(64.38, -52.26, 56.27)
CIE-LCHlch(64.38, 76.79, 132.88°)
OKLaboklab(67.56% -0.1441 0.126)
OKLCHoklch(67.56% 0.191 138.8)
XYZxyz(19.3638, 33.2721, 7.5918)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB12A #8C2AB1
analogous
#92B12A #4FB12A #2AB149
triadic
#4FB12A #2A4FB1 #B12A4F
tetradic
#4FB12A #2A92B1 #8C2AB1 #B1492A
square
#4FB12A #2A92B1 #8C2AB1 #B1492A
split-complementary
#4FB12A #492AB1 #B12A92
monochromatic
#234E13 #39801E #4FB12A #6CD345 #93DF77

Accessibility & contrast

On white

2.74
#4FB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#4FB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB12A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB12A#FFFFFF#000000##000000
##4FB12A1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#45AB97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #4fb12a;
/* rgb */ color: rgb(79, 177, 42);
/* oklch */ color: oklch(67.6% 0.191 138.8);
Tailwind
colors: {
  custom: {
    50: '#8bc96e',
    500: '#4fb12a',
    950: '#000000',
  },
}
SCSS
$custom: #4fb12a;
$custom-light: #8bc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb12a",
  "rgb": {
    "r": 79,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 103.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67563,
    "c": 0.19143,
    "h": 138.8
  },
  "luminance": 0.33274
}

Semantic roles & 50–950 ramp

primary
#4FB12A
secondary
#AF70C6
accent
#43E5B8
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4FB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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