#7BA826#7BA826

#7BA826 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.160 H 127.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7BA826
RGBrgb(123, 168, 38)
HSLhsl(81, 63%, 40%)
HSVhsv(81, 77%, 66%)
CMYKcmyk(26.8%, 0%, 77.4%, 34.1%)
CIE-LABlab(63.64, -33.86, 57.60)
CIE-LCHlch(63.64, 66.81, 120.45°)
OKLaboklab(67.51% -0.0975 0.1274)
OKLCHoklch(67.51% 0.16 127.4)
XYZxyz(22.5209, 32.3557, 6.8921)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA826 #5326A8
analogous
#A89426 #7BA826 #3AA826
triadic
#7BA826 #267BA8 #A8267B
tetradic
#7BA826 #26A894 #5326A8 #A8263A
square
#7BA826 #26A894 #5326A8 #A8263A
split-complementary
#7BA826 #263AA8 #9426A8
monochromatic
#32440F #56761B #7BA826 #9DD239 #B6DE6B

Accessibility & contrast

On white

2.81
#7BA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7BA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA826
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA826#FFFFFF#000000##000000
##7BA8261.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C03
Deuteranopia (green-blind)
#AB9933
Tritanopia (blue-blind)
#80A090
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba826;
/* rgb */ color: rgb(123, 168, 38);
/* oklch */ color: oklch(67.5% 0.160 127.4);
Tailwind
colors: {
  custom: {
    50: '#a5c26b',
    500: '#7ba826',
    950: '#000000',
  },
}
SCSS
$custom: #7ba826;
$custom-light: #a5c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba826",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 80.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67507,
    "c": 0.1604,
    "h": 127.4
  },
  "luminance": 0.32356
}

Semantic roles & 50–950 ramp

primary
#7BA826
secondary
#8666C4
accent
#42E67B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA826

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

Preview Lab → · Contrast checker → · Palette generator →

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