#7BA235#7BA235

#7BA235 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.143 H 126.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7BA235
RGBrgb(123, 162, 53)
HSLhsl(81, 51%, 42%)
HSVhsv(81, 67%, 64%)
CMYKcmyk(24.1%, 0%, 67.3%, 36.5%)
CIE-LABlab(61.92, -30.12, 50.32)
CIE-LCHlch(61.92, 58.65, 120.90°)
OKLaboklab(66.15% -0.086 0.1145)
OKLCHoklch(66.15% 0.143 126.9)
XYZxyz(21.7313, 30.3083, 8.0726)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA235 #5C35A2
analogous
#A29335 #7BA235 #44A235
triadic
#7BA235 #357BA2 #A2357B
tetradic
#7BA235 #35A293 #5C35A2 #A23544
square
#7BA235 #35A293 #5C35A2 #A23544
split-complementary
#7BA235 #3544A2 #9335A2
monochromatic
#354617 #587426 #7BA235 #9BC54F #B5D47D

Accessibility & contrast

On white

2.97
#7BA235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7BA235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA235
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA235#FFFFFF#000000##000000
##7BA2351.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9726
Deuteranopia (green-blind)
#A5953E
Tritanopia (blue-blind)
#809B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba235;
/* rgb */ color: rgb(123, 162, 53);
/* oklch */ color: oklch(66.1% 0.143 126.9);
Tailwind
colors: {
  custom: {
    50: '#a4bd72',
    500: '#7ba235',
    950: '#000000',
  },
}
SCSS
$custom: #7ba235;
$custom-light: #a4bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba235",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 81.468,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66146,
    "c": 0.14316,
    "h": 126.9
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#7BA235
secondary
#8F75BD
accent
#4EDA80
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA235

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

Preview Lab → · Contrast checker → · Palette generator →

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