#7FB12F#7FB12F

#7FB12F is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.164 H 128.6°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7FB12F
RGBrgb(127, 177, 47)
HSLhsl(83, 58%, 44%)
HSVhsv(83, 73%, 69%)
CMYKcmyk(28.2%, 0%, 73.4%, 30.6%)
CIE-LABlab(66.64, -35.91, 57.51)
CIE-LCHlch(66.64, 67.80, 121.98°)
OKLaboklab(70.03% -0.1026 0.1285)
OKLCHoklch(70.03% 0.164 128.6)
XYZxyz(24.9876, 36.1609, 8.3520)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB12F #612FB1
analogous
#B1A22F #7FB12F #3EB12F
triadic
#7FB12F #2F7FB1 #B12F7F
tetradic
#7FB12F #2FB1A2 #612FB1 #B12F3E
square
#7FB12F #2FB1A2 #612FB1 #B12F3E
split-complementary
#7FB12F #2F3EB1 #A22FB1
monochromatic
#3A5015 #5C8122 #7FB12F #9ED04D #B8DD7E

Accessibility & contrast

On white

2.55
#7FB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#7FB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB12F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB12F#FFFFFF#000000##000000
##7FB12F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA416
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#83A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb12f;
/* rgb */ color: rgb(127, 177, 47);
/* oklch */ color: oklch(70.0% 0.164 128.6);
Tailwind
colors: {
  custom: {
    50: '#a8c871',
    500: '#7fb12f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb12f;
$custom-light: #a8c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb12f",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 83.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.16448,
    "h": 128.6
  },
  "luminance": 0.36162
}

Semantic roles & 50–950 ramp

primary
#7FB12F
secondary
#9576C5
accent
#47E182
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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