#7FB931#7FB931

#7FB931 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.0% C 0.173 H 130.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7FB931
RGBrgb(127, 185, 49)
HSLhsl(86, 58%, 46%)
HSVhsv(86, 74%, 73%)
CMYKcmyk(31.4%, 0%, 73.5%, 27.5%)
CIE-LABlab(69.06, -39.37, 59.18)
CIE-LCHlch(69.06, 71.08, 123.63°)
OKLaboklab(72% -0.1119 0.1324)
OKLCHoklch(72% 0.173 130.2)
XYZxyz(26.6556, 39.4309, 9.1116)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB931 #6B31B9
analogous
#B9AF31 #7FB931 #3BB931
triadic
#7FB931 #317FB9 #B9317F
tetradic
#7FB931 #31B9AF #6B31B9 #B9313B
square
#7FB931 #31B9AF #6B31B9 #B9313B
split-complementary
#7FB931 #313BB9 #AF31B9
monochromatic
#3D5817 #5E8924 #7FB931 #9DD255 #B9DF86

Accessibility & contrast

On white

2.36
#7FB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#7FB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB931
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB931#FFFFFF#000000##000000
##7FB9311.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB16
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#82B19F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb931;
/* rgb */ color: rgb(127, 185, 49);
/* oklch */ color: oklch(72.0% 0.173 130.2);
Tailwind
colors: {
  custom: {
    50: '#a9ce72',
    500: '#7fb931',
    950: '#000000',
  },
}
SCSS
$custom: #7fb931;
$custom-light: #a9ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb931",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 85.588,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72001,
    "c": 0.17329,
    "h": 130.2
  },
  "luminance": 0.39432
}

Semantic roles & 50–950 ramp

primary
#7FB931
secondary
#9D7DC8
accent
#46E189
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB931

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

Preview Lab → · Contrast checker → · Palette generator →

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