#7BA820#7BA820

#7BA820 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.163 H 127.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7BA820
RGBrgb(123, 168, 32)
HSLhsl(80, 68%, 39%)
HSVhsv(80, 81%, 66%)
CMYKcmyk(26.8%, 0%, 81%, 34.1%)
CIE-LABlab(63.61, -34.14, 59.40)
CIE-LCHlch(63.61, 68.51, 119.89°)
OKLaboklab(67.47% -0.0987 0.1302)
OKLCHoklch(67.47% 0.163 127.1)
XYZxyz(22.4318, 32.3200, 6.4228)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA820 #4D20A8
analogous
#A89120 #7BA820 #37A820
triadic
#7BA820 #207BA8 #A8207B
tetradic
#7BA820 #20A891 #4D20A8 #A82037
square
#7BA820 #20A891 #4D20A8 #A82037
split-complementary
#7BA820 #2037A8 #9120A8
monochromatic
#30410C #557516 #7BA820 #9FD72E #B7E161

Accessibility & contrast

On white

2.81
#7BA820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7BA820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA820
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA820#FFFFFF#000000##000000
##7BA8201.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#80A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba820;
/* rgb */ color: rgb(123, 168, 32);
/* oklch */ color: oklch(67.5% 0.163 127.1);
Tailwind
colors: {
  custom: {
    50: '#a5c268',
    500: '#7ba820',
    950: '#000000',
  },
}
SCSS
$custom: #7ba820;
$custom-light: #a5c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba820",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 79.853,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67474,
    "c": 0.16337,
    "h": 127.1
  },
  "luminance": 0.32321
}

Semantic roles & 50–950 ramp

primary
#7BA820
secondary
#805EC6
accent
#3DEB76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA820

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

Preview Lab → · Contrast checker → · Palette generator →

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