#4FB522#4FB522

#4FB522 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.6% C 0.200 H 138.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4FB522
RGBrgb(79, 181, 34)
HSLhsl(102, 68%, 42%)
HSVhsv(102, 81%, 71%)
CMYKcmyk(56.4%, 0%, 81.2%, 29%)
CIE-LABlab(65.61, -54.20, 59.91)
CIE-LCHlch(65.61, 80.79, 132.13°)
OKLaboklab(68.57% -0.1497 0.1325)
OKLCHoklch(68.57% 0.2 138.5)
XYZxyz(20.0363, 34.8238, 7.1789)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB522 #8822B5
analogous
#98B522 #4FB522 #22B53F
triadic
#4FB522 #224FB5 #B5224F
tetradic
#4FB522 #2298B5 #8822B5 #B53F22
square
#4FB522 #2298B5 #8822B5 #B53F22
split-complementary
#4FB522 #3F22B5 #B52298
monochromatic
#224E0F #398118 #4FB522 #6BDA3A #92E46E

Accessibility & contrast

On white

2.64
#4FB522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#4FB522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB522
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB522#FFFFFF#000000##000000
##4FB5221.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#45AF9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #4fb522;
/* rgb */ color: rgb(79, 181, 34);
/* oklch */ color: oklch(68.6% 0.200 138.5);
Tailwind
colors: {
  custom: {
    50: '#8ccc6b',
    500: '#4fb522',
    950: '#000000',
  },
}
SCSS
$custom: #4fb522;
$custom-light: #8ccc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb522",
  "rgb": {
    "r": 79,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 101.633,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68566,
    "c": 0.19995,
    "h": 138.5
  },
  "luminance": 0.34826
}

Semantic roles & 50–950 ramp

primary
#4FB522
secondary
#AC69CA
accent
#3DEBB6
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FB522

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

Preview Lab → · Contrast checker → · Palette generator →

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