#7BA142#7BA142

#7BA142 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.131 H 127.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7BA142
RGBrgb(123, 161, 66)
HSLhsl(84, 42%, 45%)
HSVhsv(84, 59%, 63%)
CMYKcmyk(23.6%, 0%, 59%, 36.9%)
CIE-LABlab(61.73, -28.55, 44.37)
CIE-LCHlch(61.73, 52.76, 122.76°)
OKLaboklab(66.03% -0.0805 0.1035)
OKLCHoklch(66.03% 0.131 127.9)
XYZxyz(21.8965, 30.0936, 9.8082)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA142 #6842A1
analogous
#A19842 #7BA142 #4CA142
triadic
#7BA142 #427BA1 #A1427B
tetradic
#7BA142 #42A198 #6842A1 #A1424C
square
#7BA142 #42A198 #6842A1 #A1424C
split-complementary
#7BA142 #424CA1 #9842A1
monochromatic
#394A1E #5A7630 #7BA142 #99BF62 #B5D08D

Accessibility & contrast

On white

2.99
#7BA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7BA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA142
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA142#FFFFFF#000000##000000
##7BA1421.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89738
Deuteranopia (green-blind)
#A39449
Tritanopia (blue-blind)
#7F9A8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba142;
/* rgb */ color: rgb(123, 161, 66);
/* oklch */ color: oklch(66.0% 0.131 127.9);
Tailwind
colors: {
  custom: {
    50: '#a4bd7a',
    500: '#7ba142',
    950: '#000000',
  },
}
SCSS
$custom: #7ba142;
$custom-light: #a4bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba142",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 84,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.13108,
    "h": 127.9
  },
  "luminance": 0.30094
}

Semantic roles & 50–950 ramp

primary
#7BA142
secondary
#9A83BB
accent
#56D288
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BA142

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

Preview Lab → · Contrast checker → · Palette generator →

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