#7FA92B#7FA92B

#7FA92B is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.157 H 126.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA92B
RGBrgb(127, 169, 43)
HSLhsl(80, 59%, 42%)
HSVhsv(80, 75%, 66%)
CMYKcmyk(24.9%, 0%, 74.6%, 33.7%)
CIE-LABlab(64.21, -32.47, 56.55)
CIE-LCHlch(64.21, 65.21, 119.86°)
OKLaboklab(68.05% -0.0935 0.1259)
OKLCHoklch(68.05% 0.157 126.6)
XYZxyz(23.3765, 33.0620, 7.4350)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA92B #552BA9
analogous
#A9942B #7FA92B #40A92B
triadic
#7FA92B #2B7FA9 #A92B7F
tetradic
#7FA92B #2BA994 #552BA9 #A92B40
square
#7FA92B #2BA994 #552BA9 #A92B40
split-complementary
#7FA92B #2B40A9 #942BA9
monochromatic
#364712 #5A781F #7FA92B #A0CF42 #B9DB73

Accessibility & contrast

On white

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

On black

7.61
#7FA92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA92B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA92B#FFFFFF#000000##000000
##7FA92B1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa92b;
/* rgb */ color: rgb(127, 169, 43);
/* oklch */ color: oklch(68.0% 0.157 126.6);
Tailwind
colors: {
  custom: {
    50: '#a8c26e',
    500: '#7fa92b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa92b;
$custom-light: #a8c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa92b",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 80,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.15685,
    "h": 126.6
  },
  "luminance": 0.33062
}

Semantic roles & 50–950 ramp

primary
#7FA92B
secondary
#8A6DC3
accent
#45E37A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA92B

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

Preview Lab → · Contrast checker → · Palette generator →

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