#7BB531#7BB531

#7BB531 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.8% C 0.170 H 130.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7BB531
RGBrgb(123, 181, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 73%, 71%)
CMYKcmyk(32%, 0%, 72.9%, 29%)
CIE-LABlab(67.64, -39.09, 57.70)
CIE-LCHlch(67.64, 69.69, 124.12°)
OKLaboklab(70.78% -0.1109 0.1293)
OKLCHoklch(70.78% 0.17 130.6)
XYZxyz(25.2465, 37.4796, 8.8092)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB531 #6B31B5
analogous
#B5AD31 #7BB531 #39B531
triadic
#7BB531 #317BB5 #B5317B
tetradic
#7BB531 #31B5AD #6B31B5 #B53139
square
#7BB531 #31B5AD #6B31B5 #B53139
split-complementary
#7BB531 #3139B5 #AD31B5
monochromatic
#3A5517 #5A8524 #7BB531 #99D053 #B6DD83

Accessibility & contrast

On white

2.47
#7BB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#7BB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB531
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB531#FFFFFF#000000##000000
##7BB5311.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA818
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#7EAD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7bb531;
/* rgb */ color: rgb(123, 181, 49);
/* oklch */ color: oklch(70.8% 0.170 130.6);
Tailwind
colors: {
  custom: {
    50: '#a6cb72',
    500: '#7bb531',
    950: '#000000',
  },
}
SCSS
$custom: #7bb531;
$custom-light: #a6cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb531",
  "rgb": {
    "r": 123,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 86.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.17034,
    "h": 130.6
  },
  "luminance": 0.3748
}

Semantic roles & 50–950 ramp

primary
#7BB531
secondary
#9C7BC7
accent
#47E18B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB531

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

Preview Lab → · Contrast checker → · Palette generator →

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