#7AAF2A#7AAF2A

#7AAF2A is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.2% C 0.167 H 129.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7AAF2A
RGBrgb(122, 175, 42)
HSLhsl(84, 61%, 43%)
HSVhsv(84, 76%, 69%)
CMYKcmyk(30.3%, 0%, 76%, 31.4%)
CIE-LABlab(65.72, -37.21, 58.24)
CIE-LCHlch(65.72, 69.11, 122.57°)
OKLaboklab(69.19% -0.1062 0.1294)
OKLCHoklch(69.19% 0.167 129.4)
XYZxyz(23.7739, 34.9640, 7.6862)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAF2A #5F2AAF
analogous
#AFA22A #7AAF2A #37AF2A
triadic
#7AAF2A #2A7AAF #AF2A7A
tetradic
#7AAF2A #2AAFA2 #5F2AAF #AF2A37
square
#7AAF2A #2AAFA2 #5F2AAF #AF2A37
split-complementary
#7AAF2A #2A37AF #A22AAF
monochromatic
#354C12 #587E1E #7AAF2A #9AD244 #B4DE75

Accessibility & contrast

On white

2.63
#7AAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#7AAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAF2A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAF2A#FFFFFF#000000##000000
##7AAF2A1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20A
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#7EA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7aaf2a;
/* rgb */ color: rgb(122, 175, 42);
/* oklch */ color: oklch(69.2% 0.167 129.4);
Tailwind
colors: {
  custom: {
    50: '#a5c76e',
    500: '#7aaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #7aaf2a;
$custom-light: #a5c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaf2a",
  "rgb": {
    "r": 122,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 83.91,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69194,
    "c": 0.16742,
    "h": 129.4
  },
  "luminance": 0.34965
}

Semantic roles & 50–950 ramp

primary
#7AAF2A
secondary
#926FC6
accent
#43E484
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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