#7BA540#7BA540

#7BA540 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.0% C 0.138 H 128.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7BA540
RGBrgb(123, 165, 64)
HSLhsl(85, 44%, 45%)
HSVhsv(85, 61%, 65%)
CMYKcmyk(25.5%, 0%, 61.2%, 35.3%)
CIE-LABlab(62.92, -30.64, 46.62)
CIE-LCHlch(62.92, 55.79, 123.32°)
OKLaboklab(66.99% -0.0865 0.108)
OKLCHoklch(66.99% 0.138 128.7)
XYZxyz(22.5488, 31.4909, 9.7398)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA540 #6A40A5
analogous
#A59C40 #7BA540 #49A540
triadic
#7BA540 #407BA5 #A5407B
tetradic
#7BA540 #40A59C #6A40A5 #A54049
square
#7BA540 #40A59C #6A40A5 #A54049
split-complementary
#7BA540 #4049A5 #9C40A5
monochromatic
#394D1E #5A792F #7BA540 #99C261 #B6D38D

Accessibility & contrast

On white

2.88
#7BA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#7BA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA540
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA540#FFFFFF#000000##000000
##7BA5401.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#A79747
Tritanopia (blue-blind)
#7F9E8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba540;
/* rgb */ color: rgb(123, 165, 64);
/* oklch */ color: oklch(67.0% 0.138 128.7);
Tailwind
colors: {
  custom: {
    50: '#a4c079',
    500: '#7ba540',
    950: '#000000',
  },
}
SCSS
$custom: #7ba540;
$custom-light: #a4c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba540",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 84.95,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.13838,
    "h": 128.7
  },
  "luminance": 0.31491
}

Semantic roles & 50–950 ramp

primary
#7BA540
secondary
#9B83BE
accent
#54D489
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BA540

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

Preview Lab → · Contrast checker → · Palette generator →

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