#7BA226#7BA226

#7BA226 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.0% C 0.153 H 126.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7BA226
RGBrgb(123, 162, 38)
HSLhsl(79, 62%, 39%)
HSVhsv(79, 77%, 64%)
CMYKcmyk(24.1%, 0%, 76.5%, 36.5%)
CIE-LABlab(61.82, -31.06, 55.88)
CIE-LCHlch(61.82, 63.93, 119.07°)
OKLaboklab(66.03% -0.0899 0.1238)
OKLCHoklch(66.03% 0.153 126)
XYZxyz(21.4387, 30.1912, 6.5313)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA226 #4D26A2
analogous
#A28B26 #7BA226 #3DA226
triadic
#7BA226 #267BA2 #A2267B
tetradic
#7BA226 #26A28B #4D26A2 #A2263D
square
#7BA226 #26A28B #4D26A2 #A2263D
split-complementary
#7BA226 #263DA2 #8B26A2
monochromatic
#303F0F #55701A #7BA226 #9FD035 #B7DB67

Accessibility & contrast

On white

2.98
#7BA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7BA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA226
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA226#FFFFFF#000000##000000
##7BA2261.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba226;
/* rgb */ color: rgb(123, 162, 38);
/* oklch */ color: oklch(66.0% 0.153 126.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd6a',
    500: '#7ba226',
    950: '#000000',
  },
}
SCSS
$custom: #7ba226;
$custom-light: #a5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba226",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 78.871,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.15296,
    "h": 126
  },
  "luminance": 0.30192
}

Semantic roles & 50–950 ramp

primary
#7BA226
secondary
#8063C1
accent
#43E576
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA226

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

Preview Lab → · Contrast checker → · Palette generator →

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