#7BA526#7BA526

#7BA526 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.157 H 126.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7BA526
RGBrgb(123, 165, 38)
HSLhsl(80, 63%, 40%)
HSVhsv(80, 77%, 65%)
CMYKcmyk(25.5%, 0%, 77%, 35.3%)
CIE-LABlab(62.73, -32.47, 56.74)
CIE-LCHlch(62.73, 65.37, 119.78°)
OKLaboklab(66.77% -0.0937 0.1256)
OKLCHoklch(66.77% 0.157 126.7)
XYZxyz(21.9735, 31.2608, 6.7096)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA526 #5026A5
analogous
#A59026 #7BA526 #3BA526
triadic
#7BA526 #267BA5 #A5267B
tetradic
#7BA526 #26A590 #5026A5 #A5263B
square
#7BA526 #26A590 #5026A5 #A5263B
split-complementary
#7BA526 #263BA5 #9026A5
monochromatic
#31420F #56731B #7BA526 #9ED137 #B6DC69

Accessibility & contrast

On white

2.90
#7BA526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7BA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA526
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA526#FFFFFF#000000##000000
##7BA5261.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9905
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#809D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba526;
/* rgb */ color: rgb(123, 165, 38);
/* oklch */ color: oklch(66.8% 0.157 126.7);
Tailwind
colors: {
  custom: {
    50: '#a5c06b',
    500: '#7ba526',
    950: '#000000',
  },
}
SCSS
$custom: #7ba526;
$custom-light: #a5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba526",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 79.843,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.15669,
    "h": 126.7
  },
  "luminance": 0.31261
}

Semantic roles & 50–950 ramp

primary
#7BA526
secondary
#8364C3
accent
#42E678
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA526

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

Preview Lab → · Contrast checker → · Palette generator →

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