#7BB12D#7BB12D

#7BB12D 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#7BB12D
RGBrgb(123, 177, 45)
HSLhsl(85, 59%, 44%)
HSVhsv(85, 75%, 69%)
CMYKcmyk(30.5%, 0%, 74.6%, 30.6%)
CIE-LABlab(66.40, -37.56, 57.90)
CIE-LCHlch(66.40, 69.01, 122.97°)
OKLaboklab(69.77% -0.107 0.1291)
OKLCHoklch(69.77% 0.168 129.6)
XYZxyz(24.3641, 35.8440, 8.1170)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB12D #632DB1
analogous
#B1A52D #7BB12D #39B12D
triadic
#7BB12D #2D7BB1 #B12D7B
tetradic
#7BB12D #2DB1A5 #632DB1 #B12D39
square
#7BB12D #2DB1A5 #632DB1 #B12D39
split-complementary
#7BB12D #2D39B1 #A52DB1
monochromatic
#374F14 #598021 #7BB12D #9AD14A #B5DD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BB12D#FFFFFF#000000##000000
##7BB12D1.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)
#B9A411
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#7EA998
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7bb12d;
/* rgb */ color: rgb(123, 177, 45);
/* oklch */ color: oklch(69.8% 0.168 129.6);
Tailwind
colors: {
  custom: {
    50: '#a6c86f',
    500: '#7bb12d',
    950: '#000000',
  },
}
SCSS
$custom: #7bb12d;
$custom-light: #a6c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb12d",
  "rgb": {
    "r": 123,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 84.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.1677,
    "h": 129.6
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#7BB12D
secondary
#9574C6
accent
#45E386
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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