#7FA92F#7FA92F

#7FA92F is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.154 H 126.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA92F
RGBrgb(127, 169, 47)
HSLhsl(81, 56%, 42%)
HSVhsv(81, 72%, 66%)
CMYKcmyk(24.9%, 0%, 72.2%, 33.7%)
CIE-LABlab(64.24, -32.23, 55.13)
CIE-LCHlch(64.24, 63.86, 120.31°)
OKLaboklab(68.08% -0.0926 0.1236)
OKLCHoklch(68.08% 0.154 126.8)
XYZxyz(23.4535, 33.0928, 7.8407)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA92F #592FA9
analogous
#A9962F #7FA92F #42A92F
triadic
#7FA92F #2F7FA9 #A92F7F
tetradic
#7FA92F #2FA996 #592FA9 #A92F42
square
#7FA92F #2FA996 #592FA9 #A92F42
split-complementary
#7FA92F #2F42A9 #962FA9
monochromatic
#374914 #5B7922 #7FA92F #9FCC49 #B8DA79

Accessibility & contrast

On white

2.76
#7FA92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7FA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA92F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA92F#FFFFFF#000000##000000
##7FA92F1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D19
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa92f;
/* rgb */ color: rgb(127, 169, 47);
/* oklch */ color: oklch(68.1% 0.154 126.8);
Tailwind
colors: {
  custom: {
    50: '#a8c270',
    500: '#7fa92f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa92f;
$custom-light: #a8c270;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa92f",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 80.656,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68075,
    "c": 0.15439,
    "h": 126.8
  },
  "luminance": 0.33093
}

Semantic roles & 50–950 ramp

primary
#7FA92F
secondary
#8D72C2
accent
#48E07C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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