#7FA346#7FA346

#7FA346 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.8% C 0.128 H 127.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7FA346
RGBrgb(127, 163, 70)
HSLhsl(83, 40%, 46%)
HSVhsv(83, 57%, 64%)
CMYKcmyk(22.1%, 0%, 57.1%, 36.1%)
CIE-LABlab(62.63, -27.56, 43.58)
CIE-LCHlch(62.63, 51.56, 122.31°)
OKLaboklab(66.84% -0.0776 0.1021)
OKLCHoklch(66.84% 0.128 127.2)
XYZxyz(22.9550, 31.1483, 10.5960)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA346 #6A46A3
analogous
#A39846 #7FA346 #50A346
triadic
#7FA346 #467FA3 #A3467F
tetradic
#7FA346 #46A398 #6A46A3 #A34650
square
#7FA346 #46A398 #6A46A3 #A34650
split-complementary
#7FA346 #4650A3 #9846A3
monochromatic
#3C4D21 #5E7834 #7FA346 #9DBE68 #B9D193

Accessibility & contrast

On white

2.90
#7FA346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7FA346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA346
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA346#FFFFFF#000000##000000
##7FA3461.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993D
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#839C8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa346;
/* rgb */ color: rgb(127, 163, 70);
/* oklch */ color: oklch(66.8% 0.128 127.2);
Tailwind
colors: {
  custom: {
    50: '#a6be7c',
    500: '#7fa346',
    950: '#000000',
  },
}
SCSS
$custom: #7fa346;
$custom-light: #a6be7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa346",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 70
  },
  "hsl": {
    "h": 83.226,
    "s": 39.914,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6684,
    "c": 0.12827,
    "h": 127.2
  },
  "luminance": 0.31149
}

Semantic roles & 50–950 ramp

primary
#7FA346
secondary
#9D89BC
accent
#58D086
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA346

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

Preview Lab → · Contrast checker → · Palette generator →

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