#7BA040#7BA040

#7BA040 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.8% C 0.131 H 127.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7BA040
RGBrgb(123, 160, 64)
HSLhsl(83, 43%, 44%)
HSVhsv(83, 60%, 63%)
CMYKcmyk(23.1%, 0%, 60%, 37.3%)
CIE-LABlab(61.41, -28.25, 44.94)
CIE-LCHlch(61.41, 53.08, 122.16°)
OKLaboklab(65.77% -0.0798 0.1045)
OKLCHoklch(65.77% 0.131 127.4)
XYZxyz(21.6646, 29.7224, 9.4451)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA040 #6540A0
analogous
#A09540 #7BA040 #4BA040
triadic
#7BA040 #407BA0 #A0407B
tetradic
#7BA040 #40A095 #6540A0 #A0404B
square
#7BA040 #40A095 #6540A0 #A0404B
split-complementary
#7BA040 #404BA0 #9540A0
monochromatic
#38491D #59742F #7BA040 #9ABF5E #B5D08A

Accessibility & contrast

On white

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

On black

6.94
#7BA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA040
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA040#FFFFFF#000000##000000
##7BA0401.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89636
Deuteranopia (green-blind)
#A29447
Tritanopia (blue-blind)
#7F998B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba040;
/* rgb */ color: rgb(123, 160, 64);
/* oklch */ color: oklch(65.8% 0.131 127.4);
Tailwind
colors: {
  custom: {
    50: '#a4bc78',
    500: '#7ba040',
    950: '#000000',
  },
}
SCSS
$custom: #7ba040;
$custom-light: #a4bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba040",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 83.125,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65768,
    "c": 0.13147,
    "h": 127.4
  },
  "luminance": 0.29723
}

Semantic roles & 50–950 ramp

primary
#7BA040
secondary
#9781BB
accent
#55D386
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BA040

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

Preview Lab → · Contrast checker → · Palette generator →

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