#7AAB2D#7AAB2D

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

Color values

HEX#7AAB2D
RGBrgb(122, 171, 45)
HSLhsl(83, 58%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(28.7%, 0%, 73.7%, 32.9%)
CIE-LABlab(64.53, -35.23, 56.04)
CIE-LCHlch(64.53, 66.20, 122.16°)
OKLaboklab(68.23% -0.1006 0.1253)
OKLCHoklch(68.23% 0.161 128.8)
XYZxyz(23.0626, 33.4523, 7.7240)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAB2D #5E2DAB
analogous
#AB9D2D #7AAB2D #3BAB2D
triadic
#7AAB2D #2D7AAB #AB2D7A
tetradic
#7AAB2D #2DAB9D #5E2DAB #AB2D3B
square
#7AAB2D #2DAB9D #5E2DAB #AB2D3B
split-complementary
#7AAB2D #2D3BAB #9D2DAB
monochromatic
#354A14 #577B20 #7AAB2D #9ACE47 #B4DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AAB2D#FFFFFF#000000##000000
##7AAB2D1.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)
#B39F15
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#7EA393
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aab2d;
/* rgb */ color: rgb(122, 171, 45);
/* oklch */ color: oklch(68.2% 0.161 128.8);
Tailwind
colors: {
  custom: {
    50: '#a4c46f',
    500: '#7aab2d',
    950: '#000000',
  },
}
SCSS
$custom: #7aab2d;
$custom-light: #a4c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7aab2d",
  "rgb": {
    "r": 122,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 83.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.16067,
    "h": 128.8
  },
  "luminance": 0.33453
}

Semantic roles & 50–950 ramp

primary
#7AAB2D
secondary
#9171C3
accent
#46E283
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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