#7FA11E#7FA11E

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

Color values

HEX#7FA11E
RGBrgb(127, 161, 30)
HSLhsl(76, 69%, 37%)
HSVhsv(76, 81%, 63%)
CMYKcmyk(21.1%, 0%, 81.4%, 36.9%)
CIE-LABlab(61.74, -29.33, 58.38)
CIE-LCHlch(61.74, 65.33, 116.67°)
OKLaboklab(66.02% -0.086 0.1276)
OKLCHoklch(66.02% 0.154 124)
XYZxyz(21.7319, 30.0953, 5.8921)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA11E #401EA1
analogous
#A1821E #7FA11E #3DA11E
triadic
#7FA11E #1E7FA1 #A11E7F
tetradic
#7FA11E #1EA182 #401EA1 #A11E3D
square
#7FA11E #1EA182 #401EA1 #A11E3D
split-complementary
#7FA11E #1E3DA1 #821EA1
monochromatic
#2E3A0B #566D14 #7FA11E #A8D528 #BDE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA11E#FFFFFF#000000##000000
##7FA11E1.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)
#A6952C
Tritanopia (blue-blind)
#869989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa11e;
/* rgb */ color: rgb(127, 161, 30);
/* oklch */ color: oklch(66.0% 0.154 124.0);
Tailwind
colors: {
  custom: {
    50: '#a8bd67',
    500: '#7fa11e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa11e;
$custom-light: #a8bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa11e",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 75.573,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.15386,
    "h": 124
  },
  "luminance": 0.30096
}

Semantic roles & 50–950 ramp

primary
#7FA11E
secondary
#7357C4
accent
#3CEB6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA11E

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

Preview Lab → · Contrast checker → · Palette generator →

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