#7AA42D#7AA42D

#7AA42D 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.18:1 contrast (WCAG AA passes).

Color values

HEX#7AA42D
RGBrgb(122, 164, 45)
HSLhsl(81, 57%, 41%)
HSVhsv(81, 73%, 64%)
CMYKcmyk(25.6%, 0%, 72.6%, 35.7%)
CIE-LABlab(62.40, -32.00, 53.95)
CIE-LCHlch(62.40, 62.73, 120.68°)
OKLaboklab(66.5% -0.0918 0.1209)
OKLCHoklch(66.5% 0.152 127.2)
XYZxyz(21.7752, 30.8775, 7.2948)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA42D #572DA4
analogous
#A4922D #7AA42D #3FA42D
triadic
#7AA42D #2D7AA4 #A42D7A
tetradic
#7AA42D #2DA492 #572DA4 #A42D3F
square
#7AA42D #2DA492 #572DA4 #A42D3F
split-complementary
#7AA42D #2D3FA4 #922DA4
monochromatic
#334413 #567420 #7AA42D #9BCB43 #B5D973

Accessibility & contrast

On white

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

On black

7.18
#7AA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA42D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA42D#FFFFFF#000000##000000
##7AA42D1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7aa42d;
/* rgb */ color: rgb(122, 164, 45);
/* oklch */ color: oklch(66.5% 0.152 127.2);
Tailwind
colors: {
  custom: {
    50: '#a4bf6e',
    500: '#7aa42d',
    950: '#000000',
  },
}
SCSS
$custom: #7aa42d;
$custom-light: #a4bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa42d",
  "rgb": {
    "r": 122,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 81.176,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66504,
    "c": 0.15179,
    "h": 127.2
  },
  "luminance": 0.30878
}

Semantic roles & 50–950 ramp

primary
#7AA42D
secondary
#8A6DC0
accent
#48E07D
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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