#7FA12B#7FA12B

#7FA12B is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.147 H 124.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7FA12B
RGBrgb(127, 161, 43)
HSLhsl(77, 58%, 40%)
HSVhsv(77, 73%, 63%)
CMYKcmyk(21.1%, 0%, 73.3%, 36.9%)
CIE-LABlab(61.81, -28.68, 54.20)
CIE-LCHlch(61.81, 61.33, 117.89°)
OKLaboklab(66.1% -0.0832 0.121)
OKLCHoklch(66.1% 0.147 124.5)
XYZxyz(21.9335, 30.1760, 6.9540)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA12B #4D2BA1
analogous
#A1882B #7FA12B #44A12B
triadic
#7FA12B #2B7FA1 #A12B7F
tetradic
#7FA12B #2BA188 #4D2BA1 #A12B44
square
#7FA12B #2BA188 #4D2BA1 #A12B44
split-complementary
#7FA12B #2B44A1 #882BA1
monochromatic
#334011 #59711E #7FA12B #A3CB3E #BAD86E

Accessibility & contrast

On white

2.98
#7FA12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7FA12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA12B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA12B#FFFFFF#000000##000000
##7FA12B1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa12b;
/* rgb */ color: rgb(127, 161, 43);
/* oklch */ color: oklch(66.1% 0.147 124.5);
Tailwind
colors: {
  custom: {
    50: '#a7bd6d',
    500: '#7fa12b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa12b;
$custom-light: #a7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa12b",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 77.288,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.66098,
    "c": 0.14682,
    "h": 124.5
  },
  "luminance": 0.30176
}

Semantic roles & 50–950 ramp

primary
#7FA12B
secondary
#8269BF
accent
#47E173
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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