#7BA520#7BA520

#7BA520 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.7% C 0.160 H 126.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7BA520
RGBrgb(123, 165, 32)
HSLhsl(79, 68%, 39%)
HSVhsv(79, 81%, 65%)
CMYKcmyk(25.5%, 0%, 80.6%, 35.3%)
CIE-LABlab(62.70, -32.76, 58.57)
CIE-LCHlch(62.70, 67.11, 119.21°)
OKLaboklab(66.74% -0.0949 0.1285)
OKLCHoklch(66.74% 0.16 126.5)
XYZxyz(21.8844, 31.2251, 6.2403)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA520 #4A20A5
analogous
#A58C20 #7BA520 #38A520
triadic
#7BA520 #207BA5 #A5207B
tetradic
#7BA520 #20A58C #4A20A5 #A52038
square
#7BA520 #20A58C #4A20A5 #A52038
split-complementary
#7BA520 #2038A5 #8C20A5
monochromatic
#2F3E0C #557216 #7BA520 #A0D62C #B7E05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA520#FFFFFF#000000##000000
##7BA5201.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)
#AE9900
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#809D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba520;
/* rgb */ color: rgb(123, 165, 32);
/* oklch */ color: oklch(66.7% 0.160 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5c068',
    500: '#7ba520',
    950: '#000000',
  },
}
SCSS
$custom: #7ba520;
$custom-light: #a5c068;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba520",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 78.947,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66735,
    "c": 0.15973,
    "h": 126.5
  },
  "luminance": 0.31226
}

Semantic roles & 50–950 ramp

primary
#7BA520
secondary
#7D5CC5
accent
#3DEA74
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA520

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

Preview Lab → · Contrast checker → · Palette generator →

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