#7FB031#7FB031

#7FB031 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.8% C 0.162 H 128.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7FB031
RGBrgb(127, 176, 49)
HSLhsl(83, 56%, 44%)
HSVhsv(83, 72%, 69%)
CMYKcmyk(27.8%, 0%, 72.2%, 31%)
CIE-LABlab(66.35, -35.34, 56.50)
CIE-LCHlch(66.35, 66.64, 122.02°)
OKLaboklab(69.8% -0.1009 0.1267)
OKLCHoklch(69.8% 0.162 128.5)
XYZxyz(24.8321, 35.7838, 8.5038)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB031 #6231B0
analogous
#B0A231 #7FB031 #40B031
triadic
#7FB031 #317FB0 #B0317F
tetradic
#7FB031 #31B0A2 #6231B0 #B03140
square
#7FB031 #31B0A2 #6231B0 #B03140
split-complementary
#7FB031 #3140B0 #A231B0
monochromatic
#3A5016 #5C8024 #7FB031 #9ECE50 #B8DC80

Accessibility & contrast

On white

2.57
#7FB031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7FB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB031
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB031#FFFFFF#000000##000000
##7FB0311.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A31A
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#83A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7fb031;
/* rgb */ color: rgb(127, 176, 49);
/* oklch */ color: oklch(69.8% 0.162 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c871',
    500: '#7fb031',
    950: '#000000',
  },
}
SCSS
$custom: #7fb031;
$custom-light: #a8c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb031",
  "rgb": {
    "r": 127,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 83.15,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69799,
    "c": 0.16199,
    "h": 128.5
  },
  "luminance": 0.35784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FB031

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

Preview Lab → · Contrast checker → · Palette generator →

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