#7BB12C#7BB12C

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

Color values

HEX#7BB12C
RGBrgb(123, 177, 44)
HSLhsl(84, 60%, 43%)
HSVhsv(84, 75%, 69%)
CMYKcmyk(30.5%, 0%, 75.1%, 30.6%)
CIE-LABlab(66.39, -37.61, 58.23)
CIE-LCHlch(66.39, 69.32, 122.86°)
OKLaboklab(69.76% -0.1072 0.1297)
OKLCHoklch(69.76% 0.168 129.6)
XYZxyz(24.3451, 35.8364, 8.0168)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB12C #622CB1
analogous
#B1A42C #7BB12C #38B12C
triadic
#7BB12C #2C7BB1 #B12C7B
tetradic
#7BB12C #2CB1A4 #622CB1 #B12C38
square
#7BB12C #2CB1A4 #622CB1 #B12C38
split-complementary
#7BB12C #2C38B1 #A42CB1
monochromatic
#374F14 #598020 #7BB12C #9AD249 #B5DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BB12C#FFFFFF#000000##000000
##7BB12C1.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)
#B9A40E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#7FA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7bb12c;
/* rgb */ color: rgb(123, 177, 44);
/* oklch */ color: oklch(69.8% 0.168 129.6);
Tailwind
colors: {
  custom: {
    50: '#a6c86f',
    500: '#7bb12c',
    950: '#000000',
  },
}
SCSS
$custom: #7bb12c;
$custom-light: #a6c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb12c",
  "rgb": {
    "r": 123,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 84.361,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.16827,
    "h": 129.6
  },
  "luminance": 0.35837
}

Semantic roles & 50–950 ramp

primary
#7BB12C
secondary
#9573C6
accent
#44E385
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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