#7FA92E#7FA92E

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

Color values

HEX#7FA92E
RGBrgb(127, 169, 46)
HSLhsl(80, 57%, 42%)
HSVhsv(80, 73%, 66%)
CMYKcmyk(24.9%, 0%, 72.8%, 33.7%)
CIE-LABlab(64.23, -32.29, 55.49)
CIE-LCHlch(64.23, 64.21, 120.20°)
OKLaboklab(68.07% -0.0928 0.1242)
OKLCHoklch(68.07% 0.155 126.8)
XYZxyz(23.4336, 33.0848, 7.7356)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA92E #582EA9
analogous
#A9962E #7FA92E #42A92E
triadic
#7FA92E #2E7FA9 #A92E7F
tetradic
#7FA92E #2EA996 #582EA9 #A92E42
square
#7FA92E #2EA996 #582EA9 #A92E42
split-complementary
#7FA92E #2E42A9 #962EA9
monochromatic
#374914 #5B7921 #7FA92E #9FCD47 #B8DA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA92E#FFFFFF#000000##000000
##7FA92E1.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)
#B29D17
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa92e;
/* rgb */ color: rgb(127, 169, 46);
/* oklch */ color: oklch(68.1% 0.155 126.8);
Tailwind
colors: {
  custom: {
    50: '#a8c26f',
    500: '#7fa92e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa92e;
$custom-light: #a8c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa92e",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 46
  },
  "hsl": {
    "h": 80.488,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68068,
    "c": 0.15502,
    "h": 126.8
  },
  "luminance": 0.33085
}

Semantic roles & 50–950 ramp

primary
#7FA92E
secondary
#8C71C2
accent
#47E07C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA92E

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

Preview Lab → · Contrast checker → · Palette generator →

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