#7BA726#7BA726

#7BA726 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.3% C 0.159 H 127.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7BA726
RGBrgb(123, 167, 38)
HSLhsl(80, 63%, 40%)
HSVhsv(80, 77%, 65%)
CMYKcmyk(26.3%, 0%, 77.2%, 34.5%)
CIE-LABlab(63.33, -33.40, 57.31)
CIE-LCHlch(63.33, 66.33, 120.23°)
OKLaboklab(67.26% -0.0962 0.1268)
OKLCHoklch(67.26% 0.159 127.2)
XYZxyz(22.3370, 31.9879, 6.8308)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA726 #5226A7
analogous
#A79226 #7BA726 #3BA726
triadic
#7BA726 #267BA7 #A7267B
tetradic
#7BA726 #26A792 #5226A7 #A7263B
square
#7BA726 #26A792 #5226A7 #A7263B
split-complementary
#7BA726 #263BA7 #9226A7
monochromatic
#32430F #56751B #7BA726 #9DD238 #B6DD6A

Accessibility & contrast

On white

2.84
#7BA726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#7BA726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA726
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA726#FFFFFF#000000##000000
##7BA7261.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B03
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#809F8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ba726;
/* rgb */ color: rgb(123, 167, 38);
/* oklch */ color: oklch(67.3% 0.159 127.2);
Tailwind
colors: {
  custom: {
    50: '#a5c16b',
    500: '#7ba726',
    950: '#000000',
  },
}
SCSS
$custom: #7ba726;
$custom-light: #a5c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba726",
  "rgb": {
    "r": 123,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 80.465,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.15917,
    "h": 127.2
  },
  "luminance": 0.31988
}

Semantic roles & 50–950 ramp

primary
#7BA726
secondary
#8565C3
accent
#42E67A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA726

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

Preview Lab → · Contrast checker → · Palette generator →

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