#7FB531#7FB531

#7FB531 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.0% C 0.168 H 129.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7FB531
RGBrgb(127, 181, 49)
HSLhsl(85, 57%, 45%)
HSVhsv(85, 73%, 71%)
CMYKcmyk(29.8%, 0%, 72.9%, 29%)
CIE-LABlab(67.86, -37.59, 57.99)
CIE-LCHlch(67.86, 69.11, 122.95°)
OKLaboklab(71.02% -0.107 0.1299)
OKLCHoklch(71.02% 0.168 129.5)
XYZxyz(25.8305, 37.7808, 8.8366)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB531 #6731B5
analogous
#B5A931 #7FB531 #3DB531
triadic
#7FB531 #317FB5 #B5317F
tetradic
#7FB531 #31B5A9 #6731B5 #B5313D
square
#7FB531 #31B5A9 #6731B5 #B5313D
split-complementary
#7FB531 #313DB5 #A931B5
monochromatic
#3B5517 #5D8524 #7FB531 #9DD053 #B8DD83

Accessibility & contrast

On white

2.45
#7FB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#7FB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB531
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB531#FFFFFF#000000##000000
##7FB5311.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#83AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb531;
/* rgb */ color: rgb(127, 181, 49);
/* oklch */ color: oklch(71.0% 0.168 129.5);
Tailwind
colors: {
  custom: {
    50: '#a8cb72',
    500: '#7fb531',
    950: '#000000',
  },
}
SCSS
$custom: #7fb531;
$custom-light: #a8cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb531",
  "rgb": {
    "r": 127,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 84.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.16829,
    "h": 129.5
  },
  "luminance": 0.37782
}

Semantic roles & 50–950 ramp

primary
#7FB531
secondary
#9A7BC7
accent
#47E186
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB531

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

Preview Lab → · Contrast checker → · Palette generator →

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