#7FBA46#7FBA46

#7FBA46 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.4% C 0.160 H 132.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7FBA46
RGBrgb(127, 186, 70)
HSLhsl(91, 46%, 50%)
HSVhsv(91, 62%, 73%)
CMYKcmyk(31.7%, 0%, 62.4%, 27.1%)
CIE-LABlab(69.52, -38.26, 51.34)
CIE-LCHlch(69.52, 64.02, 126.69°)
OKLaboklab(72.42% -0.1071 0.1187)
OKLCHoklch(72.42% 0.16 132.1)
XYZxyz(27.4164, 40.0711, 12.0831)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA46 #8146BA
analogous
#B9BA46 #7FBA46 #46BA47
triadic
#7FBA46 #467FBA #BA467F
tetradic
#7FBA46 #46B9BA #8146BA #BA4746
square
#7FBA46 #46B9BA #8146BA #BA4746
split-complementary
#7FBA46 #4746BA #BA46B9
monochromatic
#426124 #618E35 #7FBA46 #9ECB73 #BDDB9F

Accessibility & contrast

On white

2.33
#7FBA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#7FBA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA46
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA46#FFFFFF#000000##000000
##7FBA461.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#81B3A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7fba46;
/* rgb */ color: rgb(127, 186, 70);
/* oklch */ color: oklch(72.4% 0.160 132.1);
Tailwind
colors: {
  custom: {
    50: '#a8cf7e',
    500: '#7fba46',
    950: '#000000',
  },
}
SCSS
$custom: #7fba46;
$custom-light: #a8cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba46",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 90.517,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.1599,
    "h": 132.1
  },
  "luminance": 0.40072
}

Semantic roles & 50–950 ramp

primary
#7FBA46
secondary
#AE94C8
accent
#52D595
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBA46

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

Preview Lab → · Contrast checker → · Palette generator →

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