#71A42B#71A42B

#71A42B is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.9% C 0.158 H 130.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#71A42B
RGBrgb(113, 164, 43)
HSLhsl(85, 58%, 41%)
HSVhsv(85, 74%, 64%)
CMYKcmyk(31.1%, 0%, 73.8%, 35.7%)
CIE-LABlab(61.86, -35.63, 53.96)
CIE-LCHlch(61.86, 64.67, 123.44°)
OKLaboklab(65.92% -0.1013 0.1208)
OKLCHoklch(65.92% 0.158 130)
XYZxyz(20.5214, 30.2354, 7.0398)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71A42B #5E2BA4
analogous
#A49A2B #71A42B #35A42B
triadic
#71A42B #2B71A4 #A42B71
tetradic
#71A42B #2BA49A #5E2BA4 #A42B35
square
#71A42B #2BA49A #5E2BA4 #A42B35
split-complementary
#71A42B #2B35A4 #9A2BA4
monochromatic
#2E4312 #50741E #71A42B #91CD3F #ADD970

Accessibility & contrast

On white

2.98
#71A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#71A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #71A42B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71A42B#FFFFFF#000000##000000
##71A42B1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9814
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#749D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #71a42b;
/* rgb */ color: rgb(113, 164, 43);
/* oklch */ color: oklch(65.9% 0.158 130.0);
Tailwind
colors: {
  custom: {
    50: '#9ebf6d',
    500: '#71a42b',
    950: '#000000',
  },
}
SCSS
$custom: #71a42b;
$custom-light: #9ebf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#71a42b",
  "rgb": {
    "r": 113,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 85.289,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65915,
    "c": 0.15764,
    "h": 130
  },
  "luminance": 0.30236
}

Semantic roles & 50–950 ramp

primary
#71A42B
secondary
#8F6AC1
accent
#46E288
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #71A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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