#7BA326#7BA326

#7BA326 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.154 H 126.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7BA326
RGBrgb(123, 163, 38)
HSLhsl(79, 62%, 39%)
HSVhsv(79, 77%, 64%)
CMYKcmyk(24.5%, 0%, 76.7%, 36.1%)
CIE-LABlab(62.12, -31.53, 56.17)
CIE-LCHlch(62.12, 64.41, 119.31°)
OKLaboklab(66.28% -0.0911 0.1244)
OKLCHoklch(66.28% 0.154 126.2)
XYZxyz(21.6155, 30.5449, 6.5903)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA326 #4E26A3
analogous
#A38D26 #7BA326 #3DA326
triadic
#7BA326 #267BA3 #A3267B
tetradic
#7BA326 #26A38D #4E26A3 #A3263D
square
#7BA326 #26A38D #4E26A3 #A3263D
split-complementary
#7BA326 #263DA3 #8D26A3
monochromatic
#30400F #56711A #7BA326 #9FD036 #B7DC68

Accessibility & contrast

On white

2.95
#7BA326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7BA326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA326
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA326#FFFFFF#000000##000000
##7BA3261.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9807
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#809B8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba326;
/* rgb */ color: rgb(123, 163, 38);
/* oklch */ color: oklch(66.3% 0.154 126.2);
Tailwind
colors: {
  custom: {
    50: '#a5be6a',
    500: '#7ba326',
    950: '#000000',
  },
}
SCSS
$custom: #7ba326;
$custom-light: #a5be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba326",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 79.2,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66278,
    "c": 0.1542,
    "h": 126.2
  },
  "luminance": 0.30545
}

Semantic roles & 50–950 ramp

primary
#7BA326
secondary
#8163C2
accent
#43E577
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA326

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

Preview Lab → · Contrast checker → · Palette generator →

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