#7FB125#7FB125

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

Color values

HEX#7FB125
RGBrgb(127, 177, 37)
HSLhsl(81, 65%, 42%)
HSVhsv(81, 79%, 69%)
CMYKcmyk(28.2%, 0%, 79.1%, 30.6%)
CIE-LABlab(66.59, -36.44, 60.74)
CIE-LCHlch(66.59, 70.84, 120.96°)
OKLaboklab(69.97% -0.1048 0.1338)
OKLCHoklch(69.97% 0.17 128.1)
XYZxyz(24.8085, 36.0893, 7.4088)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB125 #5725B1
analogous
#B19D25 #7FB125 #39B125
triadic
#7FB125 #257FB1 #B1257F
tetradic
#7FB125 #25B19D #5725B1 #B12539
square
#7FB125 #25B19D #5725B1 #B12539
split-complementary
#7FB125 #2539B1 #9D25B1
monochromatic
#364C10 #5B7E1A #7FB125 #A0D63D #B8E16F

Accessibility & contrast

On white

2.56
#7FB125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7FB125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB125
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB125#FFFFFF#000000##000000
##7FB1251.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#84A997
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb125;
/* rgb */ color: rgb(127, 177, 37);
/* oklch */ color: oklch(70.0% 0.170 128.1);
Tailwind
colors: {
  custom: {
    50: '#a9c86c',
    500: '#7fb125',
    950: '#000000',
  },
}
SCSS
$custom: #7fb125;
$custom-light: #a9c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb125",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 81.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69967,
    "c": 0.16992,
    "h": 128.1
  },
  "luminance": 0.3609
}

Semantic roles & 50–950 ramp

primary
#7FB125
secondary
#8C6AC8
accent
#3FE87C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FB125

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

Preview Lab → · Contrast checker → · Palette generator →

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