#7AA71F#7AA71F

#7AA71F is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.2% C 0.163 H 127.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7AA71F
RGBrgb(122, 167, 31)
HSLhsl(80, 69%, 39%)
HSVhsv(80, 81%, 65%)
CMYKcmyk(26.9%, 0%, 81.4%, 34.5%)
CIE-LABlab(63.24, -34.12, 59.33)
CIE-LCHlch(63.24, 68.44, 119.90°)
OKLaboklab(67.16% -0.0986 0.1299)
OKLCHoklch(67.16% 0.163 127.2)
XYZxyz(22.0922, 31.8735, 6.2843)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA71F #4C1FA7
analogous
#A7901F #7AA71F #36A71F
triadic
#7AA71F #1F7AA7 #A71F7A
tetradic
#7AA71F #1FA790 #4C1FA7 #A71F36
square
#7AA71F #1FA790 #4C1FA7 #A71F36
split-complementary
#7AA71F #1F36A7 #901FA7
monochromatic
#2F400C #547315 #7AA71F #9FD82B #B6E15F

Accessibility & contrast

On white

2.85
#7AA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7AA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA71F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA71F#FFFFFF#000000##000000
##7AA71F1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#7F9F8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7aa71f;
/* rgb */ color: rgb(122, 167, 31);
/* oklch */ color: oklch(67.2% 0.163 127.2);
Tailwind
colors: {
  custom: {
    50: '#a5c168',
    500: '#7aa71f',
    950: '#000000',
  },
}
SCSS
$custom: #7aa71f;
$custom-light: #a5c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa71f",
  "rgb": {
    "r": 122,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 79.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.16312,
    "h": 127.2
  },
  "luminance": 0.31874
}

Semantic roles & 50–950 ramp

primary
#7AA71F
secondary
#7F5CC6
accent
#3CEC76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA71F

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

Preview Lab → · Contrast checker → · Palette generator →

#7AA71F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva