#7BA118#7BA118

#7BA118 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.7% C 0.158 H 125.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7BA118
RGBrgb(123, 161, 24)
HSLhsl(77, 74%, 36%)
HSVhsv(77, 85%, 63%)
CMYKcmyk(23.6%, 0%, 85.1%, 36.9%)
CIE-LABlab(61.45, -31.20, 59.61)
CIE-LCHlch(61.45, 67.28, 117.63°)
OKLaboklab(65.72% -0.0912 0.1294)
OKLCHoklch(65.72% 0.158 125.2)
XYZxyz(21.0783, 29.7664, 5.4990)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA118 #3E18A1
analogous
#A18318 #7BA118 #37A118
triadic
#7BA118 #187BA1 #A1187B
tetradic
#7BA118 #18A183 #3E18A1 #A11837
square
#7BA118 #18A183 #3E18A1 #A11837
split-complementary
#7BA118 #1837A1 #8318A1
monochromatic
#2A3608 #526C10 #7BA118 #A4D620 #BBE54F

Accessibility & contrast

On white

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

On black

6.95
#7BA118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA118
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA118#FFFFFF#000000##000000
##7BA1181.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba118;
/* rgb */ color: rgb(123, 161, 24);
/* oklch */ color: oklch(65.7% 0.158 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5bd64',
    500: '#7ba118',
    950: '#000000',
  },
}
SCSS
$custom: #7ba118;
$custom-light: #a5bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba118",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 76.642,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65715,
    "c": 0.1583,
    "h": 125.2
  },
  "luminance": 0.29767
}

Semantic roles & 50–950 ramp

primary
#7BA118
secondary
#6F4EC7
accent
#37F16B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA118

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

Preview Lab → · Contrast checker → · Palette generator →

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