#7BA120#7BA120

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

Color values

HEX#7BA120
RGBrgb(123, 161, 32)
HSLhsl(78, 67%, 38%)
HSVhsv(78, 80%, 63%)
CMYKcmyk(23.6%, 0%, 80.1%, 36.9%)
CIE-LABlab(61.49, -30.88, 57.47)
CIE-LCHlch(61.49, 65.25, 118.25°)
OKLaboklab(65.75% -0.0898 0.1262)
OKLCHoklch(65.75% 0.155 125.5)
XYZxyz(21.1741, 29.8047, 6.0036)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA120 #4620A1
analogous
#A18620 #7BA120 #3BA120
triadic
#7BA120 #207BA1 #A1207B
tetradic
#7BA120 #20A186 #4620A1 #A1203B
square
#7BA120 #20A186 #4620A1 #A1203B
split-complementary
#7BA120 #203BA1 #8620A1
monochromatic
#2D3B0C #546E16 #7BA120 #A2D42A #B8DF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA120#FFFFFF#000000##000000
##7BA1201.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: #7ba120;
/* rgb */ color: rgb(123, 161, 32);
/* oklch */ color: oklch(65.8% 0.155 125.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd68',
    500: '#7ba120',
    950: '#000000',
  },
}
SCSS
$custom: #7ba120;
$custom-light: #a5bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba120",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 77.674,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.15486,
    "h": 125.5
  },
  "luminance": 0.29805
}

Semantic roles & 50–950 ramp

primary
#7BA120
secondary
#795AC3
accent
#3EEA71
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA120

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

Preview Lab → · Contrast checker → · Palette generator →

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