#7FA11F#7FA11F

#7FA11F is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.153 H 124.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA11F
RGBrgb(127, 161, 31)
HSLhsl(76, 68%, 38%)
HSVhsv(76, 81%, 63%)
CMYKcmyk(21.1%, 0%, 80.7%, 36.9%)
CIE-LABlab(61.74, -29.29, 58.10)
CIE-LCHlch(61.74, 65.06, 116.75°)
OKLaboklab(66.03% -0.0858 0.1272)
OKLCHoklch(66.03% 0.153 124)
XYZxyz(21.7448, 30.1005, 5.9604)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA11F #411FA1
analogous
#A1821F #7FA11F #3EA11F
triadic
#7FA11F #1F7FA1 #A11F7F
tetradic
#7FA11F #1FA182 #411FA1 #A11F3E
square
#7FA11F #1FA182 #411FA1 #A11F3E
split-complementary
#7FA11F #1F3EA1 #821FA1
monochromatic
#2E3A0B #576E15 #7FA11F #A7D429 #BDDF5B

Accessibility & contrast

On white

2.99
#7FA11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA11F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA11F#FFFFFF#000000##000000
##7FA11F1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#869989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa11f;
/* rgb */ color: rgb(127, 161, 31);
/* oklch */ color: oklch(66.0% 0.153 124.0);
Tailwind
colors: {
  custom: {
    50: '#a8bd67',
    500: '#7fa11f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa11f;
$custom-light: #a8bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa11f",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 75.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66025,
    "c": 0.1534,
    "h": 124
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#7FA11F
secondary
#7458C4
accent
#3DEB6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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