#7BA720#7BA720

#7BA720 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.2% C 0.162 H 126.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7BA720
RGBrgb(123, 167, 32)
HSLhsl(80, 68%, 39%)
HSVhsv(80, 81%, 65%)
CMYKcmyk(26.3%, 0%, 80.8%, 34.5%)
CIE-LABlab(63.30, -33.68, 59.12)
CIE-LCHlch(63.30, 68.04, 119.67°)
OKLaboklab(67.23% -0.0974 0.1296)
OKLCHoklch(67.23% 0.162 126.9)
XYZxyz(22.2479, 31.9522, 6.3615)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA720 #4C20A7
analogous
#A79020 #7BA720 #37A720
triadic
#7BA720 #207BA7 #A7207B
tetradic
#7BA720 #20A790 #4C20A7 #A72037
square
#7BA720 #20A790 #4C20A7 #A72037
split-complementary
#7BA720 #2037A7 #9020A7
monochromatic
#2F400C #557416 #7BA720 #A0D72D #B7E161

Accessibility & contrast

On white

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

On black

7.39
#7BA720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA720
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA720#FFFFFF#000000##000000
##7BA7201.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#809F8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ba720;
/* rgb */ color: rgb(123, 167, 32);
/* oklch */ color: oklch(67.2% 0.162 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5c168',
    500: '#7ba720',
    950: '#000000',
  },
}
SCSS
$custom: #7ba720;
$custom-light: #a5c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba720",
  "rgb": {
    "r": 123,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 79.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.16216,
    "h": 126.9
  },
  "luminance": 0.31953
}

Semantic roles & 50–950 ramp

primary
#7BA720
secondary
#7F5DC5
accent
#3DEB76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA720

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

Preview Lab → · Contrast checker → · Palette generator →

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