#7A9E2E#7A9E2E

#7A9E2E is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.0% C 0.143 H 125.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A9E2E
RGBrgb(122, 158, 46)
HSLhsl(79, 55%, 40%)
HSVhsv(79, 71%, 62%)
CMYKcmyk(22.8%, 0%, 70.9%, 38%)
CIE-LABlab(60.59, -29.10, 51.76)
CIE-LCHlch(60.59, 59.38, 119.35°)
OKLaboklab(65.04% -0.0838 0.1164)
OKLCHoklch(65.04% 0.143 125.7)
XYZxyz(20.7462, 28.7883, 7.0479)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9E2E #522E9E
analogous
#9E8A2E #7A9E2E #429E2E
triadic
#7A9E2E #2E7A9E #9E2E7A
tetradic
#7A9E2E #2E9E8A #522E9E #9E2E42
square
#7A9E2E #2E9E8A #522E9E #9E2E42
split-complementary
#7A9E2E #2E429E #8A2E9E
monochromatic
#313F12 #556F20 #7A9E2E #9DC841 #B5D671

Accessibility & contrast

On white

3.11
#7A9E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7A9E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9E2E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9E2E#FFFFFF#000000##000000
##7A9E2E1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7931C
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#7F9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7a9e2e;
/* rgb */ color: rgb(122, 158, 46);
/* oklch */ color: oklch(65.0% 0.143 125.7);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7a9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a9e2e;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9e2e",
  "rgb": {
    "r": 122,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 79.286,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.14344,
    "h": 125.7
  },
  "luminance": 0.28789
}

Semantic roles & 50–950 ramp

primary
#7A9E2E
secondary
#856BBD
accent
#4ADE79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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