#7A9D2E#7A9D2E

#7A9D2E is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.142 H 125.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7A9D2E
RGBrgb(122, 157, 46)
HSLhsl(79, 55%, 40%)
HSVhsv(79, 71%, 62%)
CMYKcmyk(22.3%, 0%, 70.7%, 38.4%)
CIE-LABlab(60.29, -28.62, 51.45)
CIE-LCHlch(60.29, 58.87, 119.08°)
OKLaboklab(64.8% -0.0824 0.1158)
OKLCHoklch(64.8% 0.142 125.5)
XYZxyz(20.5763, 28.4485, 6.9913)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D2E #512E9D
analogous
#9D892E #7A9D2E #429D2E
triadic
#7A9D2E #2E7A9D #9D2E7A
tetradic
#7A9D2E #2E9D89 #512E9D #9D2E42
square
#7A9D2E #2E9D89 #512E9D #9D2E42
split-complementary
#7A9D2E #2E429D #892E9D
monochromatic
#303E12 #556E20 #7A9D2E #9DC741 #B5D570

Accessibility & contrast

On white

3.14
#7A9D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7A9D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9D2E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9D2E#FFFFFF#000000##000000
##7A9D2E1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931C
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#7F9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d2e;
/* rgb */ color: rgb(122, 157, 46);
/* oklch */ color: oklch(64.8% 0.142 125.5);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7a9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d2e;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d2e",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 78.919,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.14214,
    "h": 125.5
  },
  "luminance": 0.28449
}

Semantic roles & 50–950 ramp

primary
#7A9D2E
secondary
#846ABD
accent
#4ADE79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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