#7BA121#7BA121

#7BA121 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.154 H 125.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7BA121
RGBrgb(123, 161, 33)
HSLhsl(78, 66%, 38%)
HSVhsv(78, 80%, 63%)
CMYKcmyk(23.6%, 0%, 79.5%, 36.9%)
CIE-LABlab(61.49, -30.84, 57.18)
CIE-LCHlch(61.49, 64.96, 118.34°)
OKLaboklab(65.76% -0.0896 0.1257)
OKLCHoklch(65.76% 0.154 125.5)
XYZxyz(21.1879, 29.8102, 6.0762)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA121 #4721A1
analogous
#A18721 #7BA121 #3BA121
triadic
#7BA121 #217BA1 #A1217B
tetradic
#7BA121 #21A187 #4721A1 #A1213B
square
#7BA121 #21A187 #4721A1 #A1213B
split-complementary
#7BA121 #213BA1 #8721A1
monochromatic
#2D3B0C #546E17 #7BA121 #A2D42C #B8DE5E

Accessibility & contrast

On white

3.02
#7BA121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7BA121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA121
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA121#FFFFFF#000000##000000
##7BA1211.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#819989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba121;
/* rgb */ color: rgb(123, 161, 33);
/* oklch */ color: oklch(65.8% 0.154 125.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd68',
    500: '#7ba121',
    950: '#000000',
  },
}
SCSS
$custom: #7ba121;
$custom-light: #a5bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba121",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 77.813,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.15437,
    "h": 125.5
  },
  "luminance": 0.2981
}

Semantic roles & 50–950 ramp

primary
#7BA121
secondary
#7A5BC3
accent
#3FE971
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA121

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

Preview Lab → · Contrast checker → · Palette generator →

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