#7A9221#7A9221

#7A9221 is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.0% C 0.136 H 121.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7A9221
RGBrgb(122, 146, 33)
HSLhsl(73, 63%, 35%)
HSVhsv(73, 77%, 57%)
CMYKcmyk(16.4%, 0%, 77.4%, 42.7%)
CIE-LABlab(56.89, -23.98, 52.88)
CIE-LCHlch(56.89, 58.06, 114.39°)
OKLaboklab(62.02% -0.0708 0.1166)
OKLCHoklch(62.02% 0.136 121.3)
XYZxyz(18.5798, 24.8052, 5.2476)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9221 #392192
analogous
#927121 #7A9221 #429221
triadic
#7A9221 #217A92 #92217A
tetradic
#7A9221 #219271 #392192 #922142
square
#7A9221 #219271 #392192 #922142
split-complementary
#7A9221 #214292 #712192
monochromatic
#272E0A #506016 #7A9221 #A4C42C #BDD955

Accessibility & contrast

On white

3.52
#7A9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7A9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9221
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9221#FFFFFF#000000##000000
##7A92211.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8905
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#818A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a9221;
/* rgb */ color: rgb(122, 146, 33);
/* oklch */ color: oklch(62.0% 0.136 121.3);
Tailwind
colors: {
  custom: {
    50: '#a4b266',
    500: '#7a9221',
    950: '#000000',
  },
}
SCSS
$custom: #7a9221;
$custom-light: #a4b266;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9221",
  "rgb": {
    "r": 122,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 72.743,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62015,
    "c": 0.13646,
    "h": 121.3
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#7A9221
secondary
#6953BC
accent
#42E665
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A9221

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

Preview Lab → · Contrast checker → · Palette generator →

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