#4FA42B#4FA42B

#4FA42B is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.175 H 138.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4FA42B
RGBrgb(79, 164, 43)
HSLhsl(102, 58%, 41%)
HSVhsv(102, 74%, 64%)
CMYKcmyk(51.8%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.24, -47.25, 51.81)
CIE-LCHlch(60.24, 70.12, 132.36°)
OKLaboklab(64.15% -0.1305 0.1169)
OKLCHoklch(64.15% 0.175 138.2)
XYZxyz(16.9354, 28.3863, 6.8717)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA42B #802BA4
analogous
#8BA42B #4FA42B #2BA444
triadic
#4FA42B #2B4FA4 #A42B4F
tetradic
#4FA42B #2B8BA4 #802BA4 #A4442B
square
#4FA42B #2B8BA4 #802BA4 #A4442B
split-complementary
#4FA42B #442BA4 #A42B8B
monochromatic
#204312 #38741E #4FA42B #69CD3F #8FD970

Accessibility & contrast

On white

3.14
#4FA42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#4FA42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA42B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA42B#FFFFFF#000000##000000
##4FA42B1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99615
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#489E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa42b;
/* rgb */ color: rgb(79, 164, 43);
/* oklch */ color: oklch(64.1% 0.175 138.2);
Tailwind
colors: {
  custom: {
    50: '#89c06c',
    500: '#4fa42b',
    950: '#000000',
  },
}
SCSS
$custom: #4fa42b;
$custom-light: #89c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa42b",
  "rgb": {
    "r": 79,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 102.149,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6415,
    "c": 0.1752,
    "h": 138.2
  },
  "luminance": 0.28388
}

Semantic roles & 50–950 ramp

primary
#4FA42B
secondary
#A76AC1
accent
#46E2B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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