#71AA21#71AA21

#71AA21 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.4% C 0.171 H 130.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#71AA21
RGBrgb(113, 170, 33)
HSLhsl(85, 67%, 40%)
HSVhsv(85, 81%, 67%)
CMYKcmyk(33.5%, 0%, 80.6%, 33.3%)
CIE-LABlab(63.65, -38.85, 58.93)
CIE-LCHlch(63.65, 70.59, 123.39°)
OKLaboklab(67.36% -0.1107 0.1297)
OKLCHoklch(67.36% 0.171 130.5)
XYZxyz(21.4592, 32.3692, 6.5558)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71AA21 #5A21AA
analogous
#AA9F21 #71AA21 #2CAA21
triadic
#71AA21 #2171AA #AA2171
tetradic
#71AA21 #21AA9F #5A21AA #AA212C
square
#71AA21 #21AA9F #5A21AA #AA212C
split-complementary
#71AA21 #212CAA #9F21AA
monochromatic
#2D430D #4F7717 #71AA21 #92D731 #ADE164

Accessibility & contrast

On white

2.81
#71AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#71AA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #71AA21
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71AA21#FFFFFF#000000##000000
##71AA211.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AA9930
Tritanopia (blue-blind)
#74A291
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #71aa21;
/* rgb */ color: rgb(113, 170, 33);
/* oklch */ color: oklch(67.4% 0.171 130.5);
Tailwind
colors: {
  custom: {
    50: '#9fc369',
    500: '#71aa21',
    950: '#000000',
  },
}
SCSS
$custom: #71aa21;
$custom-light: #9fc369;
$custom-dark: #000000;
JSON
{
  "hex": "#71aa21",
  "rgb": {
    "r": 113,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 84.964,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67356,
    "c": 0.17051,
    "h": 130.5
  },
  "luminance": 0.3237
}

Semantic roles & 50–950 ramp

primary
#71AA21
secondary
#8B61C6
accent
#3DEA85
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #71AA21

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

Preview Lab → · Contrast checker → · Palette generator →

#71AA21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva