#7AA81F#7AA81F

#7AA81F is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.4% C 0.164 H 127.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7AA81F
RGBrgb(122, 168, 31)
HSLhsl(80, 69%, 39%)
HSVhsv(80, 82%, 66%)
CMYKcmyk(27.4%, 0%, 81.5%, 34.1%)
CIE-LABlab(63.54, -34.58, 59.60)
CIE-LCHlch(63.54, 68.90, 120.12°)
OKLaboklab(67.4% -0.0999 0.1305)
OKLCHoklch(67.4% 0.164 127.4)
XYZxyz(22.2761, 32.2413, 6.3456)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA81F #4D1FA8
analogous
#A8921F #7AA81F #36A81F
triadic
#7AA81F #1F7AA8 #A81F7A
tetradic
#7AA81F #1FA892 #4D1FA8 #A81F36
square
#7AA81F #1FA892 #4D1FA8 #A81F36
split-complementary
#7AA81F #1F36A8 #921FA8
monochromatic
#2F410C #547415 #7AA81F #9ED82C #B6E260

Accessibility & contrast

On white

2.82
#7AA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7AA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA81F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA81F#FFFFFF#000000##000000
##7AA81F1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#7FA08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7aa81f;
/* rgb */ color: rgb(122, 168, 31);
/* oklch */ color: oklch(67.4% 0.164 127.4);
Tailwind
colors: {
  custom: {
    50: '#a5c268',
    500: '#7aa81f',
    950: '#000000',
  },
}
SCSS
$custom: #7aa81f;
$custom-light: #a5c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa81f",
  "rgb": {
    "r": 122,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 80.146,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67404,
    "c": 0.16433,
    "h": 127.4
  },
  "luminance": 0.32242
}

Semantic roles & 50–950 ramp

primary
#7AA81F
secondary
#805DC6
accent
#3CEC77
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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