#7AAB2C#7AAB2C

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

Color values

HEX#7AAB2C
RGBrgb(122, 171, 44)
HSLhsl(83, 59%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(28.7%, 0%, 74.3%, 32.9%)
CIE-LABlab(64.52, -35.29, 56.39)
CIE-LCHlch(64.52, 66.53, 122.04°)
OKLaboklab(68.22% -0.1009 0.1259)
OKLCHoklch(68.22% 0.161 128.7)
XYZxyz(23.0435, 33.4447, 7.6238)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB2C #5D2CAB
analogous
#AB9D2C #7AAB2C #3AAB2C
triadic
#7AAB2C #2C7AAB #AB2C7A
tetradic
#7AAB2C #2CAB9D #5D2CAB #AB2C3A
square
#7AAB2C #2CAB9D #5D2CAB #AB2C3A
split-complementary
#7AAB2C #2C3AAB #9D2CAB
monochromatic
#354A13 #577A1F #7AAB2C #9ACF45 #B4DC76

Accessibility & contrast

On white

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

On black

7.69
#7AAB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAB2C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAB2C#FFFFFF#000000##000000
##7AAB2C1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F12
Deuteranopia (green-blind)
#AD9B38
Tritanopia (blue-blind)
#7EA393
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aab2c;
/* rgb */ color: rgb(122, 171, 44);
/* oklch */ color: oklch(68.2% 0.161 128.7);
Tailwind
colors: {
  custom: {
    50: '#a4c46e',
    500: '#7aab2c',
    950: '#000000',
  },
}
SCSS
$custom: #7aab2c;
$custom-light: #a4c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab2c",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 83.15,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.16128,
    "h": 128.7
  },
  "luminance": 0.33445
}

Semantic roles & 50–950 ramp

primary
#7AAB2C
secondary
#906FC3
accent
#46E282
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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