#7BB331#7BB331

#7BB331 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.3% C 0.168 H 130.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7BB331
RGBrgb(123, 179, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 73%, 70%)
CMYKcmyk(31.3%, 0%, 72.6%, 29.8%)
CIE-LABlab(67.03, -38.20, 57.10)
CIE-LCHlch(67.03, 68.70, 123.79°)
OKLaboklab(70.29% -0.1084 0.1281)
OKLCHoklch(70.29% 0.168 130.3)
XYZxyz(24.8427, 36.6721, 8.6747)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB331 #6931B3
analogous
#B3AA31 #7BB331 #3AB331
triadic
#7BB331 #317BB3 #B3317B
tetradic
#7BB331 #31B3AA #6931B3 #B3313A
square
#7BB331 #31B3AA #6931B3 #B3313A
split-complementary
#7BB331 #313AB3 #AA31B3
monochromatic
#395317 #5A8324 #7BB331 #99D052 #B6DD82

Accessibility & contrast

On white

2.52
#7BB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7BB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB331
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB331#FFFFFF#000000##000000
##7BB3311.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#7EAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7bb331;
/* rgb */ color: rgb(123, 179, 49);
/* oklch */ color: oklch(70.3% 0.168 130.3);
Tailwind
colors: {
  custom: {
    50: '#a5ca72',
    500: '#7bb331',
    950: '#000000',
  },
}
SCSS
$custom: #7bb331;
$custom-light: #a5ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb331",
  "rgb": {
    "r": 123,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 85.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.16782,
    "h": 130.3
  },
  "luminance": 0.36673
}

Semantic roles & 50–950 ramp

primary
#7BB331
secondary
#9B7AC6
accent
#48E089
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB331

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

Preview Lab → · Contrast checker → · Palette generator →

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