#7BB12B#7BB12B

#7BB12B is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.8% C 0.169 H 129.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7BB12B
RGBrgb(123, 177, 43)
HSLhsl(84, 61%, 43%)
HSVhsv(84, 76%, 69%)
CMYKcmyk(30.5%, 0%, 75.7%, 30.6%)
CIE-LABlab(66.39, -37.67, 58.57)
CIE-LCHlch(66.39, 69.63, 122.75°)
OKLaboklab(69.75% -0.1075 0.1302)
OKLCHoklch(69.75% 0.169 129.5)
XYZxyz(24.3265, 35.8289, 7.9190)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB12B #612BB1
analogous
#B1A42B #7BB12B #38B12B
triadic
#7BB12B #2B7BB1 #B12B7B
tetradic
#7BB12B #2BB1A4 #612BB1 #B12B38
square
#7BB12B #2BB1A4 #612BB1 #B12B38
split-complementary
#7BB12B #2B38B1 #A42BB1
monochromatic
#374F13 #59801F #7BB12B #9AD247 #B5DE78

Accessibility & contrast

On white

2.57
#7BB12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7BB12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB12B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB12B#FFFFFF#000000##000000
##7BB12B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#7FA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7bb12b;
/* rgb */ color: rgb(123, 177, 43);
/* oklch */ color: oklch(69.8% 0.169 129.5);
Tailwind
colors: {
  custom: {
    50: '#a6c86f',
    500: '#7bb12b',
    950: '#000000',
  },
}
SCSS
$custom: #7bb12b;
$custom-light: #a6c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb12b",
  "rgb": {
    "r": 123,
    "g": 177,
    "b": 43
  },
  "hsl": {
    "h": 84.179,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69754,
    "c": 0.16884,
    "h": 129.5
  },
  "luminance": 0.3583
}

Semantic roles & 50–950 ramp

primary
#7BB12B
secondary
#9472C6
accent
#44E484
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB12B

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

Preview Lab → · Contrast checker → · Palette generator →

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