#7FB138#7FB138

#7FB138 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.1% C 0.159 H 129.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7FB138
RGBrgb(127, 177, 56)
HSLhsl(85, 52%, 46%)
HSVhsv(85, 68%, 69%)
CMYKcmyk(28.2%, 0%, 68.4%, 30.6%)
CIE-LABlab(66.70, -35.32, 54.17)
CIE-LCHlch(66.70, 64.67, 123.11°)
OKLaboklab(70.1% -0.1003 0.1229)
OKLCHoklch(70.1% 0.159 129.2)
XYZxyz(25.1882, 36.2412, 9.4088)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB138 #6A38B1
analogous
#B1A638 #7FB138 #43B138
triadic
#7FB138 #387FB1 #B1387F
tetradic
#7FB138 #38B1A6 #6A38B1 #B13843
square
#7FB138 #38B1A6 #6A38B1 #B13843
split-complementary
#7FB138 #3843B1 #A638B1
monochromatic
#3C541B #5E8329 #7FB138 #9DCB5B #B9DA8A

Accessibility & contrast

On white

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

On black

8.25
#7FB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB138
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB138#FFFFFF#000000##000000
##7FB1381.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A526
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#83A999
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb138;
/* rgb */ color: rgb(127, 177, 56);
/* oklch */ color: oklch(70.1% 0.159 129.2);
Tailwind
colors: {
  custom: {
    50: '#a8c875',
    500: '#7fb138',
    950: '#000000',
  },
}
SCSS
$custom: #7fb138;
$custom-light: #a8c875;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb138",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 84.793,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.15859,
    "h": 129.2
  },
  "luminance": 0.36242
}

Semantic roles & 50–950 ramp

primary
#7FB138
secondary
#9D81C4
accent
#4CDB87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB138

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

Preview Lab → · Contrast checker → · Palette generator →

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