#7BA340#7BA340

#7BA340 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.5% C 0.136 H 128.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7BA340
RGBrgb(123, 163, 64)
HSLhsl(84, 44%, 45%)
HSVhsv(84, 61%, 64%)
CMYKcmyk(24.5%, 0%, 60.7%, 36.1%)
CIE-LABlab(62.32, -29.69, 45.95)
CIE-LCHlch(62.32, 54.71, 122.87°)
OKLaboklab(66.5% -0.0838 0.1066)
OKLCHoklch(66.5% 0.136 128.2)
XYZxyz(22.1909, 30.7751, 9.6205)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA340 #6840A3
analogous
#A39940 #7BA340 #4AA340
triadic
#7BA340 #407BA3 #A3407B
tetradic
#7BA340 #40A399 #6840A3 #A3404A
square
#7BA340 #40A399 #6840A3 #A3404A
split-complementary
#7BA340 #404AA3 #9940A3
monochromatic
#394B1D #5A772F #7BA340 #99C060 #B5D28C

Accessibility & contrast

On white

2.93
#7BA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7BA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA340
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA340#FFFFFF#000000##000000
##7BA3401.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9835
Deuteranopia (green-blind)
#A59647
Tritanopia (blue-blind)
#7F9C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba340;
/* rgb */ color: rgb(123, 163, 64);
/* oklch */ color: oklch(66.5% 0.136 128.2);
Tailwind
colors: {
  custom: {
    50: '#a4be79',
    500: '#7ba340',
    950: '#000000',
  },
}
SCSS
$custom: #7ba340;
$custom-light: #a4be79;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba340",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 84.242,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66499,
    "c": 0.13562,
    "h": 128.2
  },
  "luminance": 0.30776
}

Semantic roles & 50–950 ramp

primary
#7BA340
secondary
#9A82BD
accent
#54D388
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BA340

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

Preview Lab → · Contrast checker → · Palette generator →

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