#7BB231#7BB231

#7BB231 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.0% C 0.167 H 130.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7BB231
RGBrgb(123, 178, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 72%, 70%)
CMYKcmyk(30.9%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.73, -37.76, 56.80)
CIE-LCHlch(66.73, 68.20, 123.62°)
OKLaboklab(70.04% -0.1072 0.1274)
OKLCHoklch(70.04% 0.167 130.1)
XYZxyz(24.6430, 36.2727, 8.6081)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB231 #6831B2
analogous
#B2A831 #7BB231 #3BB231
triadic
#7BB231 #317BB2 #B2317B
tetradic
#7BB231 #31B2A8 #6831B2 #B2313B
square
#7BB231 #31B2A8 #6831B2 #B2313B
split-complementary
#7BB231 #313BB2 #A831B2
monochromatic
#395217 #5A8224 #7BB231 #99CF51 #B5DC81

Accessibility & contrast

On white

2.54
#7BB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#7BB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB231
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB231#FFFFFF#000000##000000
##7BB2311.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#7EAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7bb231;
/* rgb */ color: rgb(123, 178, 49);
/* oklch */ color: oklch(70.0% 0.167 130.1);
Tailwind
colors: {
  custom: {
    50: '#a5c972',
    500: '#7bb231',
    950: '#000000',
  },
}
SCSS
$custom: #7bb231;
$custom-light: #a5c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb231",
  "rgb": {
    "r": 123,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 85.581,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70042,
    "c": 0.16656,
    "h": 130.1
  },
  "luminance": 0.36273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7BB231

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

Preview Lab → · Contrast checker → · Palette generator →

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