#4AB21F#4AB21F

#4AB21F is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.200 H 138.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4AB21F
RGBrgb(74, 178, 31)
HSLhsl(102, 70%, 41%)
HSVhsv(102, 83%, 70%)
CMYKcmyk(58.4%, 0%, 82.6%, 30.2%)
CIE-LABlab(64.48, -54.58, 59.64)
CIE-LCHlch(64.48, 80.84, 132.47°)
OKLaboklab(67.58% -0.1506 0.1316)
OKLCHoklch(67.58% 0.2 138.9)
XYZxyz(18.9910, 33.3939, 6.7410)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4AB21F #871FB2
analogous
#93B21F #4AB21F #1FB23D
triadic
#4AB21F #1F4AB2 #B21F4A
tetradic
#4AB21F #1F93B2 #871FB2 #B23D1F
square
#4AB21F #1F93B2 #871FB2 #B23D1F
split-complementary
#4AB21F #3D1FB2 #B21F93
monochromatic
#1F4A0D #347E16 #4AB21F #64DB33 #8CE567

Accessibility & contrast

On white

2.73
#4AB21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#4AB21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4AB21F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4AB21F#FFFFFF#000000##000000
##4AB21F1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#3FAC98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #4ab21f;
/* rgb */ color: rgb(74, 178, 31);
/* oklch */ color: oklch(67.6% 0.200 138.9);
Tailwind
colors: {
  custom: {
    50: '#89ca69',
    500: '#4ab21f',
    950: '#000000',
  },
}
SCSS
$custom: #4ab21f;
$custom-light: #89ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#4ab21f",
  "rgb": {
    "r": 74,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 102.449,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6758,
    "c": 0.19998,
    "h": 138.9
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

primary
#4AB21F
secondary
#AC63CA
accent
#3BEDB9
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4AB21F

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

Preview Lab → · Contrast checker → · Palette generator →

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