#7BB931#7BB931

#7BB931 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.8% C 0.175 H 131.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7BB931
RGBrgb(123, 185, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 74%, 73%)
CMYKcmyk(33.5%, 0%, 73.5%, 27.5%)
CIE-LABlab(68.85, -40.84, 58.89)
CIE-LCHlch(68.85, 71.67, 124.74°)
OKLaboklab(71.77% -0.1156 0.1318)
OKLCHoklch(71.77% 0.175 131.2)
XYZxyz(26.0715, 39.1297, 9.0843)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB931 #6F31B9
analogous
#B9B331 #7BB931 #37B931
triadic
#7BB931 #317BB9 #B9317B
tetradic
#7BB931 #31B9B3 #6F31B9 #B93137
square
#7BB931 #31B9B3 #6F31B9 #B93137
split-complementary
#7BB931 #3137B9 #B331B9
monochromatic
#3B5817 #5B8924 #7BB931 #99D255 #B6DF86

Accessibility & contrast

On white

2.38
#7BB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#7BB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB931
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB931#FFFFFF#000000##000000
##7BB9311.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B9A63E
Tritanopia (blue-blind)
#7DB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7bb931;
/* rgb */ color: rgb(123, 185, 49);
/* oklch */ color: oklch(71.8% 0.175 131.2);
Tailwind
colors: {
  custom: {
    50: '#a6ce72',
    500: '#7bb931',
    950: '#000000',
  },
}
SCSS
$custom: #7bb931;
$custom-light: #a6ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb931",
  "rgb": {
    "r": 123,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 87.353,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71767,
    "c": 0.17534,
    "h": 131.2
  },
  "luminance": 0.39131
}

Semantic roles & 50–950 ramp

primary
#7BB931
secondary
#A07DC8
accent
#46E18D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB931

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

Preview Lab → · Contrast checker → · Palette generator →

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