#7BA626#7BA626

#7BA626 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.158 H 127.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7BA626
RGBrgb(123, 166, 38)
HSLhsl(80, 63%, 40%)
HSVhsv(80, 77%, 65%)
CMYKcmyk(25.9%, 0%, 77.1%, 34.9%)
CIE-LABlab(63.03, -32.93, 57.03)
CIE-LCHlch(63.03, 65.85, 120.01°)
OKLaboklab(67.02% -0.095 0.1262)
OKLCHoklch(67.02% 0.158 127)
XYZxyz(22.1545, 31.6229, 6.7700)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA626 #5126A6
analogous
#A69126 #7BA626 #3BA626
triadic
#7BA626 #267BA6 #A6267B
tetradic
#7BA626 #26A691 #5126A6 #A6263B
square
#7BA626 #26A691 #5126A6 #A6263B
split-complementary
#7BA626 #263BA6 #9126A6
monochromatic
#31420F #56741B #7BA626 #9ED138 #B6DD6A

Accessibility & contrast

On white

2.87
#7BA626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7BA626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA626
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA626#FFFFFF#000000##000000
##7BA6261.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A04
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#809E8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba626;
/* rgb */ color: rgb(123, 166, 38);
/* oklch */ color: oklch(67.0% 0.158 127.0);
Tailwind
colors: {
  custom: {
    50: '#a5c06b',
    500: '#7ba626',
    950: '#000000',
  },
}
SCSS
$custom: #7ba626;
$custom-light: #a5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba626",
  "rgb": {
    "r": 123,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 80.156,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.67015,
    "c": 0.15793,
    "h": 127
  },
  "luminance": 0.31623
}

Semantic roles & 50–950 ramp

primary
#7BA626
secondary
#8465C3
accent
#42E679
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA626

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

Preview Lab → · Contrast checker → · Palette generator →

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