#7FA11B#7FA11B

#7FA11B 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#7FA11B
RGBrgb(127, 161, 27)
HSLhsl(75, 71%, 37%)
HSVhsv(75, 83%, 63%)
CMYKcmyk(21.1%, 0%, 83.2%, 36.9%)
CIE-LABlab(61.72, -29.44, 59.19)
CIE-LCHlch(61.72, 66.11, 116.45°)
OKLaboklab(66.01% -0.0865 0.1288)
OKLCHoklch(66.01% 0.155 123.9)
XYZxyz(21.6954, 30.0807, 5.6999)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA11B #3D1BA1
analogous
#A1801B #7FA11B #3CA11B
triadic
#7FA11B #1B7FA1 #A11B7F
tetradic
#7FA11B #1BA180 #3D1BA1 #A11B3C
square
#7FA11B #1BA180 #3D1BA1 #A11B3C
split-complementary
#7FA11B #1B3CA1 #801BA1
monochromatic
#2C3809 #566D12 #7FA11B #A8D524 #BEE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7fa11b;
/* rgb */ color: rgb(127, 161, 27);
/* oklch */ color: oklch(66.0% 0.155 123.9);
Tailwind
colors: {
  custom: {
    50: '#a8bd66',
    500: '#7fa11b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa11b;
$custom-light: #a8bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa11b",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 75.224,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66006,
    "c": 0.15517,
    "h": 123.9
  },
  "luminance": 0.30081
}

Semantic roles & 50–950 ramp

primary
#7FA11B
secondary
#7052C5
accent
#3AEE68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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