#7AA421#7AA421

#7AA421 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.4% C 0.159 H 126.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7AA421
RGBrgb(122, 164, 33)
HSLhsl(79, 66%, 39%)
HSVhsv(79, 80%, 64%)
CMYKcmyk(25.6%, 0%, 79.9%, 35.7%)
CIE-LABlab(62.34, -32.65, 57.93)
CIE-LCHlch(62.34, 66.49, 119.41°)
OKLaboklab(66.43% -0.0945 0.1273)
OKLCHoklch(66.43% 0.159 126.6)
XYZxyz(21.5761, 30.7979, 6.2464)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA421 #4B21A4
analogous
#A48C21 #7AA421 #38A421
triadic
#7AA421 #217AA4 #A4217A
tetradic
#7AA421 #21A48C #4B21A4 #A42138
square
#7AA421 #21A48C #4B21A4 #A42138
split-complementary
#7AA421 #2138A4 #8C21A4
monochromatic
#2E3E0C #547117 #7AA421 #9FD52D #B6DF60

Accessibility & contrast

On white

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

On black

7.16
#7AA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA421
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA421#FFFFFF#000000##000000
##7AA4211.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#7F9C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7aa421;
/* rgb */ color: rgb(122, 164, 33);
/* oklch */ color: oklch(66.4% 0.159 126.6);
Tailwind
colors: {
  custom: {
    50: '#a5bf68',
    500: '#7aa421',
    950: '#000000',
  },
}
SCSS
$custom: #7aa421;
$custom-light: #a5bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa421",
  "rgb": {
    "r": 122,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 79.237,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66428,
    "c": 0.15854,
    "h": 126.6
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#7AA421
secondary
#7E5DC4
accent
#3EE975
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA421

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

Preview Lab → · Contrast checker → · Palette generator →

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