#7FA11C#7FA11C

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

Color values

HEX#7FA11C
RGBrgb(127, 161, 28)
HSLhsl(75, 70%, 37%)
HSVhsv(75, 83%, 63%)
CMYKcmyk(21.1%, 0%, 82.6%, 36.9%)
CIE-LABlab(61.73, -29.41, 58.93)
CIE-LCHlch(61.73, 65.86, 116.52°)
OKLaboklab(66.01% -0.0863 0.1285)
OKLCHoklch(66.01% 0.155 123.9)
XYZxyz(21.7071, 30.0854, 5.7618)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA11C #3E1CA1
analogous
#A1801C #7FA11C #3DA11C
triadic
#7FA11C #1C7FA1 #A11C7F
tetradic
#7FA11C #1CA180 #3E1CA1 #A11C3D
square
#7FA11C #1CA180 #3E1CA1 #A11C3D
split-complementary
#7FA11C #1C3DA1 #801CA1
monochromatic
#2D390A #566D13 #7FA11C #A8D525 #BEE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7fa11c;
/* rgb */ color: rgb(127, 161, 28);
/* oklch */ color: oklch(66.0% 0.155 123.9);
Tailwind
colors: {
  custom: {
    50: '#a8bd66',
    500: '#7fa11c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa11c;
$custom-light: #a8bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa11c",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 75.338,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.15475,
    "h": 123.9
  },
  "luminance": 0.30086
}

Semantic roles & 50–950 ramp

primary
#7FA11C
secondary
#7154C5
accent
#3BED68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA11C

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

Preview Lab → · Contrast checker → · Palette generator →

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