#7A9F2D#7A9F2D

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

Color values

HEX#7A9F2D
RGBrgb(122, 159, 45)
HSLhsl(79, 56%, 40%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(23.3%, 0%, 71.7%, 37.6%)
CIE-LABlab(60.89, -29.64, 52.44)
CIE-LCHlch(60.89, 60.24, 119.48°)
OKLaboklab(65.28% -0.0853 0.1177)
OKLCHoklch(65.28% 0.145 125.9)
XYZxyz(20.8979, 29.1230, 7.0024)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9F2D #522D9F
analogous
#9F8B2D #7A9F2D #419F2D
triadic
#7A9F2D #2D7A9F #9F2D7A
tetradic
#7A9F2D #2D9F8B #522D9F #9F2D41
square
#7A9F2D #2D9F8B #522D9F #9F2D41
split-complementary
#7A9F2D #2D419F #8B2D9F
monochromatic
#314012 #556F20 #7A9F2D #9DC940 #B5D670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9F2D#FFFFFF#000000##000000
##7A9F2D1.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)
#A8941A
Deuteranopia (green-blind)
#A39237
Tritanopia (blue-blind)
#7F9789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a9f2d;
/* rgb */ color: rgb(122, 159, 45);
/* oklch */ color: oklch(65.3% 0.145 125.9);
Tailwind
colors: {
  custom: {
    50: '#a4bb6d',
    500: '#7a9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a9f2d;
$custom-light: #a4bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9f2d",
  "rgb": {
    "r": 122,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 79.474,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.65277,
    "c": 0.14539,
    "h": 125.9
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

primary
#7A9F2D
secondary
#856ABE
accent
#49DF79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7A9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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