#7FB45F#7FB45F

#7FB45F is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.3% C 0.128 H 134.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7FB45F
RGBrgb(127, 180, 95)
HSLhsl(97, 36%, 54%)
HSVhsv(97, 47%, 71%)
CMYKcmyk(29.4%, 0%, 47.2%, 29.4%)
CIE-LABlab(68.01, -32.85, 37.73)
CIE-LCHlch(68.01, 50.02, 131.05°)
OKLaboklab(71.29% -0.0904 0.0912)
OKLCHoklch(71.29% 0.128 134.8)
XYZxyz(27.1386, 37.9798, 16.7252)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB45F #945FB4
analogous
#AAB45F #7FB45F #5FB46A
triadic
#7FB45F #5F7FB4 #B45F7F
tetradic
#7FB45F #5FAAB4 #945FB4 #B46A5F
square
#7FB45F #5FAAB4 #945FB4 #B46A5F
split-complementary
#7FB45F #6A5FB4 #B45FAA
monochromatic
#456831 #619244 #7FB45F #A0C889 #C2DBB2

Accessibility & contrast

On white

2.44
#7FB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#7FB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB45F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB45F#FFFFFF#000000##000000
##7FB45F1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA958
Deuteranopia (green-blind)
#B2A464
Tritanopia (blue-blind)
#7FAEA0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb45f;
/* rgb */ color: rgb(127, 180, 95);
/* oklch */ color: oklch(71.3% 0.128 134.8);
Tailwind
colors: {
  custom: {
    50: '#a6ca8e',
    500: '#7fb45f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb45f;
$custom-light: #a6ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb45f",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 97.412,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.12844,
    "h": 134.8
  },
  "luminance": 0.37981
}

Semantic roles & 50–950 ramp

primary
#7FB45F
secondary
#BCA5CA
accent
#5CCCA2
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #7FB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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