#7AAB28#7AAB28

#7AAB28 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.2% C 0.164 H 128.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7AAB28
RGBrgb(122, 171, 40)
HSLhsl(82, 62%, 41%)
HSVhsv(82, 77%, 67%)
CMYKcmyk(28.7%, 0%, 76.6%, 32.9%)
CIE-LABlab(64.50, -35.52, 57.74)
CIE-LCHlch(64.50, 67.79, 121.60°)
OKLaboklab(68.19% -0.1018 0.128)
OKLCHoklch(68.19% 0.164 128.5)
XYZxyz(22.9719, 33.4160, 7.2467)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB28 #5928AB
analogous
#AB9B28 #7AAB28 #39AB28
triadic
#7AAB28 #287AAB #AB287A
tetradic
#7AAB28 #28AB9B #5928AB #AB2839
square
#7AAB28 #28AB9B #5928AB #AB2839
split-complementary
#7AAB28 #2839AB #9B28AB
monochromatic
#334811 #57791C #7AAB28 #9BD23E #B5DE70

Accessibility & contrast

On white

2.73
#7AAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7AAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAB28
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAB28#FFFFFF#000000##000000
##7AAB281.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F06
Deuteranopia (green-blind)
#AD9B35
Tritanopia (blue-blind)
#7EA392
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aab28;
/* rgb */ color: rgb(122, 171, 40);
/* oklch */ color: oklch(68.2% 0.164 128.5);
Tailwind
colors: {
  custom: {
    50: '#a5c46c',
    500: '#7aab28',
    950: '#000000',
  },
}
SCSS
$custom: #7aab28;
$custom-light: #a5c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab28",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 82.443,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68194,
    "c": 0.16355,
    "h": 128.5
  },
  "luminance": 0.33417
}

Semantic roles & 50–950 ramp

primary
#7AAB28
secondary
#8C6AC4
accent
#43E57F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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