#7BB22F#7BB22F

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

Color values

HEX#7BB22F
RGBrgb(123, 178, 47)
HSLhsl(85, 58%, 44%)
HSVhsv(85, 74%, 70%)
CMYKcmyk(30.9%, 0%, 73.6%, 30.2%)
CIE-LABlab(66.72, -37.88, 57.50)
CIE-LCHlch(66.72, 68.86, 123.38°)
OKLaboklab(70.03% -0.1077 0.1286)
OKLCHoklch(70.03% 0.168 129.9)
XYZxyz(24.6017, 36.2562, 8.3907)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB22F #662FB2
analogous
#B2A82F #7BB22F #3AB22F
triadic
#7BB22F #2F7BB2 #B22F7B
tetradic
#7BB22F #2FB2A8 #662FB2 #B22F3A
square
#7BB22F #2FB2A8 #662FB2 #B22F3A
split-complementary
#7BB22F #2F3AB2 #A82FB2
monochromatic
#385115 #5A8222 #7BB22F #9AD04E #B5DD7E

Accessibility & contrast

On white

2.55
#7BB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BB22F#FFFFFF#000000##000000
##7BB22F1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7bb22f;
/* rgb */ color: rgb(123, 178, 47);
/* oklch */ color: oklch(70.0% 0.168 129.9);
Tailwind
colors: {
  custom: {
    50: '#a5c971',
    500: '#7bb22f',
    950: '#000000',
  },
}
SCSS
$custom: #7bb22f;
$custom-light: #a5c971;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb22f",
  "rgb": {
    "r": 123,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 85.191,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.16778,
    "h": 129.9
  },
  "luminance": 0.36257
}

Semantic roles & 50–950 ramp

primary
#7BB22F
secondary
#9877C6
accent
#46E187
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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