#7BA62A#7BA62A

#7BA62A is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.0% C 0.156 H 127.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7BA62A
RGBrgb(123, 166, 42)
HSLhsl(81, 60%, 41%)
HSVhsv(81, 75%, 65%)
CMYKcmyk(25.9%, 0%, 74.7%, 34.9%)
CIE-LABlab(63.05, -32.72, 55.69)
CIE-LCHlch(63.05, 64.59, 120.43°)
OKLaboklab(67.04% -0.0941 0.124)
OKLCHoklch(67.04% 0.156 127.2)
XYZxyz(22.2226, 31.6501, 7.1283)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA62A #552AA6
analogous
#A6932A #7BA62A #3DA62A
triadic
#7BA62A #2A7BA6 #A62A7B
tetradic
#7BA62A #2AA693 #552AA6 #A62A3D
square
#7BA62A #2AA693 #552AA6 #A62A3D
split-complementary
#7BA62A #2A3DA6 #932AA6
monochromatic
#334411 #57751E #7BA62A #9DCE3F #B6DB70

Accessibility & contrast

On white

2.86
#7BA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7BA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA62A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA62A#FFFFFF#000000##000000
##7BA62A1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A10
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#809E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ba62a;
/* rgb */ color: rgb(123, 166, 42);
/* oklch */ color: oklch(67.0% 0.156 127.2);
Tailwind
colors: {
  custom: {
    50: '#a5c06d',
    500: '#7ba62a',
    950: '#000000',
  },
}
SCSS
$custom: #7ba62a;
$custom-light: #a5c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba62a",
  "rgb": {
    "r": 123,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 80.806,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67041,
    "c": 0.15566,
    "h": 127.2
  },
  "luminance": 0.31651
}

Semantic roles & 50–950 ramp

primary
#7BA62A
secondary
#886AC2
accent
#45E37C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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