#7BA529#7BA529

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

Color values

HEX#7BA529
RGBrgb(123, 165, 41)
HSLhsl(80, 60%, 40%)
HSVhsv(80, 75%, 65%)
CMYKcmyk(25.5%, 0%, 75.2%, 35.3%)
CIE-LABlab(62.74, -32.31, 55.74)
CIE-LCHlch(62.74, 64.43, 120.10°)
OKLaboklab(66.79% -0.093 0.124)
OKLCHoklch(66.79% 0.155 126.9)
XYZxyz(22.0238, 31.2809, 6.9749)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA529 #5329A5
analogous
#A59129 #7BA529 #3DA529
triadic
#7BA529 #297BA5 #A5297B
tetradic
#7BA529 #29A591 #5329A5 #A5293D
square
#7BA529 #29A591 #5329A5 #A5293D
split-complementary
#7BA529 #293DA5 #9129A5
monochromatic
#324311 #56741D #7BA529 #9DCF3D #B6DB6E

Accessibility & contrast

On white

2.89
#7BA529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7BA529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA529
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA529#FFFFFF#000000##000000
##7BA5291.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba529;
/* rgb */ color: rgb(123, 165, 41);
/* oklch */ color: oklch(66.8% 0.155 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5c06c',
    500: '#7ba529',
    950: '#000000',
  },
}
SCSS
$custom: #7ba529;
$custom-light: #a5c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba529",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 80.323,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.155,
    "h": 126.9
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#7BA529
secondary
#8668C2
accent
#44E37A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA529

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

Preview Lab → · Contrast checker → · Palette generator →

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