#7A9F2A#7A9F2A

#7A9F2A is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.3% C 0.147 H 125.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A9F2A
RGBrgb(122, 159, 42)
HSLhsl(79, 58%, 39%)
HSVhsv(79, 74%, 62%)
CMYKcmyk(23.3%, 0%, 73.6%, 37.6%)
CIE-LABlab(60.87, -29.83, 53.54)
CIE-LCHlch(60.87, 61.29, 119.12°)
OKLaboklab(65.26% -0.0861 0.1196)
OKLCHoklch(65.26% 0.147 125.8)
XYZxyz(20.8422, 29.1007, 6.7090)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9F2A #4F2A9F
analogous
#9F8A2A #7A9F2A #409F2A
triadic
#7A9F2A #2A7A9F #9F2A7A
tetradic
#7A9F2A #2A9F8A #4F2A9F #9F2A40
square
#7A9F2A #2A9F8A #4F2A9F #9F2A40
split-complementary
#7A9F2A #2A409F #8A2A9F
monochromatic
#303E10 #556F1D #7A9F2A #9ECB3B #B6D86B

Accessibility & contrast

On white

3.08
#7A9F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7A9F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9F2A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9F2A#FFFFFF#000000##000000
##7A9F2A1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89414
Deuteranopia (green-blind)
#A39235
Tritanopia (blue-blind)
#7F9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a9f2a;
/* rgb */ color: rgb(122, 159, 42);
/* oklch */ color: oklch(65.3% 0.147 125.8);
Tailwind
colors: {
  custom: {
    50: '#a4bb6c',
    500: '#7a9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a9f2a;
$custom-light: #a4bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9f2a",
  "rgb": {
    "r": 122,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 78.974,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.14733,
    "h": 125.8
  },
  "luminance": 0.29101
}

Semantic roles & 50–950 ramp

primary
#7A9F2A
secondary
#8266BF
accent
#46E177
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7A9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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