#7AA42B#7AA42B

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

Color values

HEX#7AA42B
RGBrgb(122, 164, 43)
HSLhsl(81, 58%, 41%)
HSVhsv(81, 74%, 64%)
CMYKcmyk(25.6%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.39, -32.12, 54.67)
CIE-LCHlch(62.39, 63.41, 120.44°)
OKLaboklab(66.49% -0.0923 0.1221)
OKLCHoklch(66.49% 0.153 127.1)
XYZxyz(21.7376, 30.8625, 7.0968)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA42B #552BA4
analogous
#A4912B #7AA42B #3EA42B
triadic
#7AA42B #2B7AA4 #A42B7A
tetradic
#7AA42B #2BA491 #552BA4 #A42B3E
square
#7AA42B #2BA491 #552BA4 #A42B3E
split-complementary
#7AA42B #2B3EA4 #912BA4
monochromatic
#324312 #56741E #7AA42B #9CCD3F #B5D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AA42B#FFFFFF#000000##000000
##7AA42B1.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)
#AD9914
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#7F9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa42b;
/* rgb */ color: rgb(122, 164, 43);
/* oklch */ color: oklch(66.5% 0.153 127.1);
Tailwind
colors: {
  custom: {
    50: '#a4bf6d',
    500: '#7aa42b',
    950: '#000000',
  },
}
SCSS
$custom: #7aa42b;
$custom-light: #a4bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa42b",
  "rgb": {
    "r": 122,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 80.826,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.15304,
    "h": 127.1
  },
  "luminance": 0.30863
}

Semantic roles & 50–950 ramp

primary
#7AA42B
secondary
#886AC1
accent
#46E27C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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