#7FB12C#7FB12C

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

Color values

HEX#7FB12C
RGBrgb(127, 177, 44)
HSLhsl(83, 60%, 43%)
HSVhsv(83, 75%, 69%)
CMYKcmyk(28.2%, 0%, 75.1%, 30.6%)
CIE-LABlab(66.62, -36.09, 58.54)
CIE-LCHlch(66.62, 68.76, 121.65°)
OKLaboklab(70.01% -0.1033 0.1302)
OKLCHoklch(70.01% 0.166 128.4)
XYZxyz(24.9291, 36.1375, 8.0442)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB12C #5E2CB1
analogous
#B1A02C #7FB12C #3DB12C
triadic
#7FB12C #2C7FB1 #B12C7F
tetradic
#7FB12C #2CB1A0 #5E2CB1 #B12C3D
square
#7FB12C #2CB1A0 #5E2CB1 #B12C3D
split-complementary
#7FB12C #2C3DB1 #A02CB1
monochromatic
#394F14 #5C8020 #7FB12C #9ED249 #B8DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB12C#FFFFFF#000000##000000
##7FB12C1.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)
#BAA40E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#83A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb12c;
/* rgb */ color: rgb(127, 177, 44);
/* oklch */ color: oklch(70.0% 0.166 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8c86f',
    500: '#7fb12c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb12c;
$custom-light: #a8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb12c",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 82.556,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70009,
    "c": 0.16624,
    "h": 128.4
  },
  "luminance": 0.36138
}

Semantic roles & 50–950 ramp

primary
#7FB12C
secondary
#9273C6
accent
#44E380
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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