#7A9F2F#7A9F2F

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

Color values

HEX#7A9F2F
RGBrgb(122, 159, 47)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 70%, 62%)
CMYKcmyk(23.3%, 0%, 70.4%, 37.6%)
CIE-LABlab(60.90, -29.51, 51.68)
CIE-LCHlch(60.90, 59.51, 119.73°)
OKLaboklab(65.29% -0.0848 0.1164)
OKLCHoklch(65.29% 0.144 126.1)
XYZxyz(20.9374, 29.1388, 7.2100)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9F2F #542F9F
analogous
#9F8C2F #7A9F2F #429F2F
triadic
#7A9F2F #2F7A9F #9F2F7A
tetradic
#7A9F2F #2F9F8C #542F9F #9F2F42
square
#7A9F2F #2F9F8C #542F9F #9F2F42
split-complementary
#7A9F2F #2F429F #8C2F9F
monochromatic
#324113 #567021 #7A9F2F #9CC844 #B5D673

Accessibility & contrast

On white

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

On black

6.83
#7A9F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9F2F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9F2F#FFFFFF#000000##000000
##7A9F2F1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#7F9789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a9f2f;
/* rgb */ color: rgb(122, 159, 47);
/* oklch */ color: oklch(65.3% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#a4bb6e',
    500: '#7a9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a9f2f;
$custom-light: #a4bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9f2f",
  "rgb": {
    "r": 122,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 79.821,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65292,
    "c": 0.14404,
    "h": 126.1
  },
  "luminance": 0.29139
}

Semantic roles & 50–950 ramp

primary
#7A9F2F
secondary
#876DBD
accent
#4ADE7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #7A9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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