#4FA12D#4FA12D

#4FA12D is a light, vivid green. Relative luminance 0.273; OKLCH L 63.4% C 0.170 H 138.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4FA12D
RGBrgb(79, 161, 45)
HSLhsl(102, 56%, 40%)
HSVhsv(102, 72%, 63%)
CMYKcmyk(50.9%, 0%, 72%, 36.9%)
CIE-LABlab(59.29, -45.92, 50.10)
CIE-LCHlch(59.29, 67.96, 132.51°)
OKLaboklab(63.37% -0.1268 0.1135)
OKLCHoklch(63.37% 0.17 138.2)
XYZxyz(16.4424, 27.3403, 6.8929)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA12D #7F2DA1
analogous
#89A12D #4FA12D #2DA145
triadic
#4FA12D #2D4FA1 #A12D4F
tetradic
#4FA12D #2D89A1 #7F2DA1 #A1452D
square
#4FA12D #2D89A1 #7F2DA1 #A1452D
split-complementary
#4FA12D #452DA1 #A12D89
monochromatic
#204112 #387120 #4FA12D #69CA41 #8FD771

Accessibility & contrast

On white

3.25
#4FA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#4FA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA12D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA12D#FFFFFF#000000##000000
##4FA12D1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#499B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4fa12d;
/* rgb */ color: rgb(79, 161, 45);
/* oklch */ color: oklch(63.4% 0.170 138.2);
Tailwind
colors: {
  custom: {
    50: '#88bd6d',
    500: '#4fa12d',
    950: '#000000',
  },
}
SCSS
$custom: #4fa12d;
$custom-light: #88bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa12d",
  "rgb": {
    "r": 79,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 102.414,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63374,
    "c": 0.17022,
    "h": 138.2
  },
  "luminance": 0.27341
}

Semantic roles & 50–950 ramp

primary
#4FA12D
secondary
#A66BBF
accent
#48E0B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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