#7FB631#7FB631

#7FB631 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.3% C 0.170 H 129.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7FB631
RGBrgb(127, 182, 49)
HSLhsl(85, 58%, 45%)
HSVhsv(85, 73%, 71%)
CMYKcmyk(30.2%, 0%, 73.1%, 28.6%)
CIE-LABlab(68.16, -38.04, 58.29)
CIE-LCHlch(68.16, 69.60, 123.13°)
OKLaboklab(71.27% -0.1082 0.1305)
OKLCHoklch(71.27% 0.17 129.7)
XYZxyz(26.0346, 38.1889, 8.9046)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB631 #6831B6
analogous
#B6AA31 #7FB631 #3CB631
triadic
#7FB631 #317FB6 #B6317F
tetradic
#7FB631 #31B6AA #6831B6 #B6313C
square
#7FB631 #31B6AA #6831B6 #B6313C
split-complementary
#7FB631 #313CB6 #AA31B6
monochromatic
#3C5617 #5D8624 #7FB631 #9DD153 #B8DE84

Accessibility & contrast

On white

2.43
#7FB631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#7FB631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB631
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB631#FFFFFF#000000##000000
##7FB6311.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#82AE9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb631;
/* rgb */ color: rgb(127, 182, 49);
/* oklch */ color: oklch(71.3% 0.170 129.7);
Tailwind
colors: {
  custom: {
    50: '#a8cc72',
    500: '#7fb631',
    950: '#000000',
  },
}
SCSS
$custom: #7fb631;
$custom-light: #a8cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb631",
  "rgb": {
    "r": 127,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 84.812,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71266,
    "c": 0.16955,
    "h": 129.7
  },
  "luminance": 0.3819
}

Semantic roles & 50–950 ramp

primary
#7FB631
secondary
#9B7CC7
accent
#47E187
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB631

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

Preview Lab → · Contrast checker → · Palette generator →

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