#7BBB31#7BBB31

#7BBB31 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.3% C 0.178 H 131.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7BBB31
RGBrgb(123, 187, 49)
HSLhsl(88, 58%, 46%)
HSVhsv(88, 74%, 73%)
CMYKcmyk(34.2%, 0%, 73.8%, 26.7%)
CIE-LABlab(69.45, -41.71, 59.49)
CIE-LCHlch(69.45, 72.65, 125.03°)
OKLaboklab(72.26% -0.118 0.1331)
OKLCHoklch(72.26% 0.178 131.6)
XYZxyz(26.4928, 39.9723, 9.2247)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BBB31 #7131BB
analogous
#BBB631 #7BBB31 #36BB31
triadic
#7BBB31 #317BBB #BB317B
tetradic
#7BBB31 #31BBB6 #7131BB #BB3136
square
#7BBB31 #31BBB6 #7131BB #BB3136
split-complementary
#7BBB31 #3136BB #B631BB
monochromatic
#3B5A18 #5B8B24 #7BBB31 #99D356 #B6E087

Accessibility & contrast

On white

2.33
#7BBB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#7BBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BBB31
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BBB31#FFFFFF#000000##000000
##7BBB311.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD15
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#7DB3A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7bbb31;
/* rgb */ color: rgb(123, 187, 49);
/* oklch */ color: oklch(72.3% 0.178 131.6);
Tailwind
colors: {
  custom: {
    50: '#a6d073',
    500: '#7bbb31',
    950: '#000000',
  },
}
SCSS
$custom: #7bbb31;
$custom-light: #a6d073;
$custom-dark: #000000;
JSON
{
  "hex": "#7bbb31",
  "rgb": {
    "r": 123,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 87.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7226,
    "c": 0.17783,
    "h": 131.6
  },
  "luminance": 0.39973
}

Semantic roles & 50–950 ramp

primary
#7BBB31
secondary
#A17FC9
accent
#46E28E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7BBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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