#7AA021#7AA021

#7AA021 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.4% C 0.154 H 125.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7AA021
RGBrgb(122, 160, 33)
HSLhsl(78, 66%, 38%)
HSVhsv(78, 79%, 63%)
CMYKcmyk(23.7%, 0%, 79.4%, 37.3%)
CIE-LABlab(61.12, -30.77, 56.81)
CIE-LCHlch(61.12, 64.61, 118.44°)
OKLaboklab(65.44% -0.0894 0.125)
OKLCHoklch(65.44% 0.154 125.6)
XYZxyz(20.8715, 29.3887, 6.0115)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA021 #4721A0
analogous
#A08621 #7AA021 #3AA021
triadic
#7AA021 #217AA0 #A0217A
tetradic
#7AA021 #21A086 #4721A0 #A0213A
square
#7AA021 #21A086 #4721A0 #A0213A
split-complementary
#7AA021 #213AA0 #8621A0
monochromatic
#2D3B0C #536D17 #7AA021 #A1D32B #B7DE5E

Accessibility & contrast

On white

3.05
#7AA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7AA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7AA021
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA021#FFFFFF#000000##000000
##7AA0211.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#809889
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7aa021;
/* rgb */ color: rgb(122, 160, 33);
/* oklch */ color: oklch(65.4% 0.154 125.6);
Tailwind
colors: {
  custom: {
    50: '#a4bc68',
    500: '#7aa021',
    950: '#000000',
  },
}
SCSS
$custom: #7aa021;
$custom-light: #a4bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa021",
  "rgb": {
    "r": 122,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 77.953,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65443,
    "c": 0.15363,
    "h": 125.6
  },
  "luminance": 0.29389
}

Semantic roles & 50–950 ramp

primary
#7AA021
secondary
#7A5BC2
accent
#3FE972
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA021

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

Preview Lab → · Contrast checker → · Palette generator →

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