#4AA71B#4AA71B

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

Color values

HEX#4AA71B
RGBrgb(74, 167, 27)
HSLhsl(100, 72%, 38%)
HSVhsv(100, 84%, 65%)
CMYKcmyk(55.7%, 0%, 83.8%, 34.5%)
CIE-LABlab(60.93, -50.78, 57.48)
CIE-LCHlch(60.93, 76.69, 131.46°)
OKLaboklab(64.65% -0.1406 0.1265)
OKLCHoklch(64.65% 0.189 138)
XYZxyz(16.8400, 29.1710, 5.7799)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4AA71B #781BA7
analogous
#90A71B #4AA71B #1BA732
triadic
#4AA71B #1B4AA7 #A71B4A
tetradic
#4AA71B #1B90A7 #781BA7 #A7321B
square
#4AA71B #1B90A7 #781BA7 #A7321B
split-complementary
#4AA71B #321BA7 #A71B90
monochromatic
#1B3E0A #337212 #4AA71B #61DC24 #87E458

Accessibility & contrast

On white

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

On black

6.83
#4AA71B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4AA71B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4AA71B#FFFFFF#000000##000000
##4AA71B1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4aa71b;
/* rgb */ color: rgb(74, 167, 27);
/* oklch */ color: oklch(64.6% 0.189 138.0);
Tailwind
colors: {
  custom: {
    50: '#87c266',
    500: '#4aa71b',
    950: '#000000',
  },
}
SCSS
$custom: #4aa71b;
$custom-light: #87c266;
$custom-dark: #000000;
JSON
{
  "hex": "#4aa71b",
  "rgb": {
    "r": 74,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 99.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64645,
    "c": 0.18911,
    "h": 138
  },
  "luminance": 0.29172
}

Semantic roles & 50–950 ramp

primary
#4AA71B
secondary
#A256C8
accent
#39EFB2
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4AA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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