#7FB831#7FB831

#7FB831 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.8% C 0.172 H 130.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7FB831
RGBrgb(127, 184, 49)
HSLhsl(85, 58%, 46%)
HSVhsv(85, 73%, 72%)
CMYKcmyk(31%, 0%, 73.4%, 27.8%)
CIE-LABlab(68.76, -38.93, 58.88)
CIE-LCHlch(68.76, 70.59, 123.47°)
OKLaboklab(71.76% -0.1107 0.1317)
OKLCHoklch(71.76% 0.172 130)
XYZxyz(26.4471, 39.0139, 9.0421)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB831 #6A31B8
analogous
#B8AD31 #7FB831 #3CB831
triadic
#7FB831 #317FB8 #B8317F
tetradic
#7FB831 #31B8AD #6A31B8 #B8313C
square
#7FB831 #31B8AD #6A31B8 #B8313C
split-complementary
#7FB831 #313CB8 #AD31B8
monochromatic
#3C5717 #5E8824 #7FB831 #9DD255 #B9DE85

Accessibility & contrast

On white

2.39
#7FB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#7FB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB831
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB831#FFFFFF#000000##000000
##7FB8311.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA17
Deuteranopia (green-blind)
#B9A63E
Tritanopia (blue-blind)
#82B09E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb831;
/* rgb */ color: rgb(127, 184, 49);
/* oklch */ color: oklch(71.8% 0.172 130.0);
Tailwind
colors: {
  custom: {
    50: '#a9cd72',
    500: '#7fb831',
    950: '#000000',
  },
}
SCSS
$custom: #7fb831;
$custom-light: #a9cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb831",
  "rgb": {
    "r": 127,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 85.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.17204,
    "h": 130
  },
  "luminance": 0.39015
}

Semantic roles & 50–950 ramp

primary
#7FB831
secondary
#9D7DC8
accent
#47E188
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB831

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

Preview Lab → · Contrast checker → · Palette generator →

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