#7BA138#7BA138

#7BA138 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.9% C 0.140 H 126.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7BA138
RGBrgb(123, 161, 56)
HSLhsl(82, 48%, 43%)
HSVhsv(82, 65%, 63%)
CMYKcmyk(23.6%, 0%, 65.2%, 36.9%)
CIE-LABlab(61.64, -29.41, 48.76)
CIE-LCHlch(61.64, 56.95, 121.10°)
OKLaboklab(65.93% -0.0838 0.1116)
OKLCHoklch(65.93% 0.14 126.9)
XYZxyz(21.6271, 29.9859, 8.3890)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA138 #5E38A1
analogous
#A19238 #7BA138 #47A138
triadic
#7BA138 #387BA1 #A1387B
tetradic
#7BA138 #38A192 #5E38A1 #A13847
square
#7BA138 #38A192 #5E38A1 #A13847
split-complementary
#7BA138 #3847A1 #9238A1
monochromatic
#364618 #587428 #7BA138 #9BC353 #B5D380

Accessibility & contrast

On white

3.00
#7BA138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#7BA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA138
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA138#FFFFFF#000000##000000
##7BA1381.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9962B
Deuteranopia (green-blind)
#A49440
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba138;
/* rgb */ color: rgb(123, 161, 56);
/* oklch */ color: oklch(65.9% 0.140 126.9);
Tailwind
colors: {
  custom: {
    50: '#a4bd74',
    500: '#7ba138',
    950: '#000000',
  },
}
SCSS
$custom: #7ba138;
$custom-light: #a4bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba138",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 81.714,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.13952,
    "h": 126.9
  },
  "luminance": 0.29986
}

Semantic roles & 50–950 ramp

primary
#7BA138
secondary
#9178BC
accent
#50D881
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #7BA138

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

Preview Lab → · Contrast checker → · Palette generator →

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