#7FBA45#7FBA45

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

Color values

HEX#7FBA45
RGBrgb(127, 186, 69)
HSLhsl(90, 46%, 50%)
HSVhsv(90, 63%, 73%)
CMYKcmyk(31.7%, 0%, 62.9%, 27.1%)
CIE-LABlab(69.51, -38.34, 51.76)
CIE-LCHlch(69.51, 64.42, 126.53°)
OKLaboklab(72.41% -0.1075 0.1195)
OKLCHoklch(72.41% 0.161 132)
XYZxyz(27.3851, 40.0586, 11.9183)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA45 #8045BA
analogous
#BABA45 #7FBA45 #45BA45
triadic
#7FBA45 #457FBA #BA457F
tetradic
#7FBA45 #45BABA #8045BA #BA4545
square
#7FBA45 #45BABA #8045BA #BA4545
split-complementary
#7FBA45 #4545BA #BA45BA
monochromatic
#426124 #618D34 #7FBA45 #9ECB72 #BCDB9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FBA45#FFFFFF#000000##000000
##7FBA451.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)
#C2AD37
Deuteranopia (green-blind)
#B9A84E
Tritanopia (blue-blind)
#81B3A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7fba45;
/* rgb */ color: rgb(127, 186, 69);
/* oklch */ color: oklch(72.4% 0.161 132.0);
Tailwind
colors: {
  custom: {
    50: '#a8cf7e',
    500: '#7fba45',
    950: '#000000',
  },
}
SCSS
$custom: #7fba45;
$custom-light: #a8cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba45",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 90.256,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.72414,
    "c": 0.1607,
    "h": 132
  },
  "luminance": 0.4006
}

Semantic roles & 50–950 ramp

primary
#7FBA45
secondary
#AE93C8
accent
#52D694
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBA45

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

Preview Lab → · Contrast checker → · Palette generator →

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