#7A9C2F#7A9C2F

#7A9C2F is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.6% C 0.140 H 125.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7A9C2F
RGBrgb(122, 156, 47)
HSLhsl(79, 54%, 40%)
HSVhsv(79, 70%, 61%)
CMYKcmyk(21.8%, 0%, 69.9%, 38.8%)
CIE-LABlab(60.00, -28.07, 50.76)
CIE-LCHlch(60.00, 58.00, 118.95°)
OKLaboklab(64.56% -0.0808 0.1145)
OKLCHoklch(64.56% 0.14 125.2)
XYZxyz(20.4277, 28.1195, 7.0402)
Luminance0.2812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9C2F #512F9C
analogous
#9C882F #7A9C2F #439C2F
triadic
#7A9C2F #2F7A9C #9C2F7A
tetradic
#7A9C2F #2F9C88 #512F9C #9C2F43
square
#7A9C2F #2F9C88 #512F9C #9C2F43
split-complementary
#7A9C2F #2F439C #882F9C
monochromatic
#303E13 #556D21 #7A9C2F #9DC642 #B5D471

Accessibility & contrast

On white

3.17
#7A9C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7A9C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9C2F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9C2F#FFFFFF#000000##000000
##7A9C2F1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9c2f;
/* rgb */ color: rgb(122, 156, 47);
/* oklch */ color: oklch(64.6% 0.140 125.2);
Tailwind
colors: {
  custom: {
    50: '#a4b96e',
    500: '#7a9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a9c2f;
$custom-light: #a4b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9c2f",
  "rgb": {
    "r": 122,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 78.716,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64558,
    "c": 0.14016,
    "h": 125.2
  },
  "luminance": 0.2812
}

Semantic roles & 50–950 ramp

primary
#7A9C2F
secondary
#846BBC
accent
#4BDD78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7A9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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