#7AA42C#7AA42C

#7AA42C is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.5% C 0.152 H 127.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7AA42C
RGBrgb(122, 164, 44)
HSLhsl(81, 58%, 41%)
HSVhsv(81, 73%, 64%)
CMYKcmyk(25.6%, 0%, 73.2%, 35.7%)
CIE-LABlab(62.40, -32.06, 54.31)
CIE-LCHlch(62.40, 63.07, 120.56°)
OKLaboklab(66.5% -0.0921 0.1215)
OKLCHoklch(66.5% 0.152 127.2)
XYZxyz(21.7562, 30.8699, 7.1946)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA42C #562CA4
analogous
#A4922C #7AA42C #3EA42C
triadic
#7AA42C #2C7AA4 #A42C7A
tetradic
#7AA42C #2CA492 #562CA4 #A42C3E
square
#7AA42C #2CA492 #562CA4 #A42C3E
split-complementary
#7AA42C #2C3EA4 #922CA4
monochromatic
#324312 #56741F #7AA42C #9BCC41 #B5D971

Accessibility & contrast

On white

2.93
#7AA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7AA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA42C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA42C#FFFFFF#000000##000000
##7AA42C1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#7F9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa42c;
/* rgb */ color: rgb(122, 164, 44);
/* oklch */ color: oklch(66.5% 0.152 127.2);
Tailwind
colors: {
  custom: {
    50: '#a4bf6d',
    500: '#7aa42c',
    950: '#000000',
  },
}
SCSS
$custom: #7aa42c;
$custom-light: #a4bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa42c",
  "rgb": {
    "r": 122,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 81,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66497,
    "c": 0.15242,
    "h": 127.2
  },
  "luminance": 0.3087
}

Semantic roles & 50–950 ramp

primary
#7AA42C
secondary
#896BC0
accent
#47E17D
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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