#7FB131#7FB131

#7FB131 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.163 H 128.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7FB131
RGBrgb(127, 177, 49)
HSLhsl(83, 57%, 44%)
HSVhsv(83, 72%, 69%)
CMYKcmyk(28.2%, 0%, 72.3%, 30.6%)
CIE-LABlab(66.66, -35.79, 56.80)
CIE-LCHlch(66.66, 67.14, 122.22°)
OKLaboklab(70.04% -0.1021 0.1274)
OKLCHoklch(70.04% 0.163 128.7)
XYZxyz(25.0289, 36.1774, 8.5694)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB131 #6331B1
analogous
#B1A331 #7FB131 #3FB131
triadic
#7FB131 #317FB1 #B1317F
tetradic
#7FB131 #31B1A3 #6331B1 #B1313F
square
#7FB131 #31B1A3 #6331B1 #B1313F
split-complementary
#7FB131 #313FB1 #A331B1
monochromatic
#3A5116 #5D8124 #7FB131 #9DCF51 #B8DC80

Accessibility & contrast

On white

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

On black

8.24
#7FB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB131
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB131#FFFFFF#000000##000000
##7FB1311.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA41A
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#83A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb131;
/* rgb */ color: rgb(127, 177, 49);
/* oklch */ color: oklch(70.0% 0.163 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c872',
    500: '#7fb131',
    950: '#000000',
  },
}
SCSS
$custom: #7fb131;
$custom-light: #a8c872;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb131",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 83.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.16325,
    "h": 128.7
  },
  "luminance": 0.36178
}

Semantic roles & 50–950 ramp

primary
#7FB131
secondary
#9779C5
accent
#48E083
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB131

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

Preview Lab → · Contrast checker → · Palette generator →

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