#7BA545#7BA545

#7BA545 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.134 H 129.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7BA545
RGBrgb(123, 165, 69)
HSLhsl(86, 41%, 46%)
HSVhsv(86, 58%, 65%)
CMYKcmyk(25.5%, 0%, 58.2%, 35.3%)
CIE-LABlab(62.97, -30.18, 44.37)
CIE-LCHlch(62.97, 53.66, 124.22°)
OKLaboklab(67.04% -0.0847 0.1038)
OKLCHoklch(67.04% 0.134 129.2)
XYZxyz(22.6975, 31.5504, 10.5231)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA545 #6F45A5
analogous
#A59F45 #7BA545 #4BA545
triadic
#7BA545 #457BA5 #A5457B
tetradic
#7BA545 #45A59F #6F45A5 #A5454B
square
#7BA545 #45A59F #6F45A5 #A5454B
split-complementary
#7BA545 #454BA5 #9F45A5
monochromatic
#3B4F21 #5B7A33 #7BA545 #99C068 #B6D293

Accessibility & contrast

On white

2.87
#7BA545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7BA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA545
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA545#FFFFFF#000000##000000
##7BA5451.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3B
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#7E9E90
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba545;
/* rgb */ color: rgb(123, 165, 69);
/* oklch */ color: oklch(67.0% 0.134 129.2);
Tailwind
colors: {
  custom: {
    50: '#a4c07c',
    500: '#7ba545',
    950: '#000000',
  },
}
SCSS
$custom: #7ba545;
$custom-light: #a4c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba545",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 86.25,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67043,
    "c": 0.13398,
    "h": 129.2
  },
  "luminance": 0.31551
}

Semantic roles & 50–950 ramp

primary
#7BA545
secondary
#A088BD
accent
#57D18C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7BA545

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

Preview Lab → · Contrast checker → · Palette generator →

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