#7BB731#7BB731

#7BB731 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.3% C 0.173 H 130.9°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7BB731
RGBrgb(123, 183, 49)
HSLhsl(87, 58%, 45%)
HSVhsv(87, 73%, 72%)
CMYKcmyk(32.8%, 0%, 73.2%, 28.2%)
CIE-LABlab(68.24, -39.97, 58.30)
CIE-LCHlch(68.24, 70.68, 124.43°)
OKLaboklab(71.27% -0.1132 0.1306)
OKLCHoklch(71.27% 0.173 130.9)
XYZxyz(25.6560, 38.2988, 8.9458)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB731 #6D31B7
analogous
#B7B031 #7BB731 #38B731
triadic
#7BB731 #317BB7 #B7317B
tetradic
#7BB731 #31B7B0 #6D31B7 #B73138
square
#7BB731 #31B7B0 #6D31B7 #B73138
split-complementary
#7BB731 #3138B7 #B031B7
monochromatic
#3A5617 #5B8724 #7BB731 #99D154 #B6DE84

Accessibility & contrast

On white

2.42
#7BB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7BB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB731
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB731#FFFFFF#000000##000000
##7BB7311.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#7DAF9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7bb731;
/* rgb */ color: rgb(123, 183, 49);
/* oklch */ color: oklch(71.3% 0.173 130.9);
Tailwind
colors: {
  custom: {
    50: '#a6cd72',
    500: '#7bb731',
    950: '#000000',
  },
}
SCSS
$custom: #7bb731;
$custom-light: #a6cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb731",
  "rgb": {
    "r": 123,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 86.866,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71274,
    "c": 0.17285,
    "h": 130.9
  },
  "luminance": 0.383
}

Semantic roles & 50–950 ramp

primary
#7BB731
secondary
#9E7CC8
accent
#47E18C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB731

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

Preview Lab → · Contrast checker → · Palette generator →

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