#4BA71B#4BA71B

#4BA71B is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.7% C 0.189 H 137.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4BA71B
RGBrgb(75, 167, 27)
HSLhsl(99, 72%, 38%)
HSVhsv(99, 84%, 65%)
CMYKcmyk(55.1%, 0%, 83.8%, 34.5%)
CIE-LABlab(60.97, -50.50, 57.52)
CIE-LCHlch(60.97, 76.54, 131.28°)
OKLaboklab(64.68% -0.1399 0.1265)
OKLCHoklch(64.68% 0.189 137.9)
XYZxyz(16.9176, 29.2111, 5.7835)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4BA71B #771BA7
analogous
#91A71B #4BA71B #1BA731
triadic
#4BA71B #1B4BA7 #A71B4B
tetradic
#4BA71B #1B91A7 #771BA7 #A7311B
square
#4BA71B #1B91A7 #771BA7 #A7311B
split-complementary
#4BA71B #311BA7 #A71B91
monochromatic
#1C3E0A #337212 #4BA71B #63DC24 #88E458

Accessibility & contrast

On white

3.07
#4BA71B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#4BA71B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4BA71B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4BA71B#FFFFFF#000000##000000
##4BA71B1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#43A18E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4ba71b;
/* rgb */ color: rgb(75, 167, 27);
/* oklch */ color: oklch(64.7% 0.189 137.9);
Tailwind
colors: {
  custom: {
    50: '#88c266',
    500: '#4ba71b',
    950: '#000000',
  },
}
SCSS
$custom: #4ba71b;
$custom-light: #88c266;
$custom-dark: #000000;
JSON
{
  "hex": "#4ba71b",
  "rgb": {
    "r": 75,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 99.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64684,
    "c": 0.18866,
    "h": 137.9
  },
  "luminance": 0.29212
}

Semantic roles & 50–950 ramp

primary
#4BA71B
secondary
#A156C8
accent
#39EFB0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4BA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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