#7BA225#7BA225

#7BA225 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.0% C 0.154 H 125.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7BA225
RGBrgb(123, 162, 37)
HSLhsl(79, 63%, 39%)
HSVhsv(79, 77%, 64%)
CMYKcmyk(24.1%, 0%, 77.2%, 36.5%)
CIE-LABlab(61.81, -31.12, 56.21)
CIE-LCHlch(61.81, 64.25, 118.97°)
OKLaboklab(66.03% -0.0901 0.1243)
OKLCHoklch(66.03% 0.154 125.9)
XYZxyz(21.4228, 30.1849, 6.4475)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA225 #4C25A2
analogous
#A28B25 #7BA225 #3DA225
triadic
#7BA225 #257BA2 #A2257B
tetradic
#7BA225 #25A28B #4C25A2 #A2253D
square
#7BA225 #25A28B #4C25A2 #A2253D
split-complementary
#7BA225 #253DA2 #8B25A2
monochromatic
#2F3E0E #55701A #7BA225 #A0D134 #B7DC65

Accessibility & contrast

On white

2.98
#7BA225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7BA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA225
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA225#FFFFFF#000000##000000
##7BA2251.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9704
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba225;
/* rgb */ color: rgb(123, 162, 37);
/* oklch */ color: oklch(66.0% 0.154 125.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd6a',
    500: '#7ba225',
    950: '#000000',
  },
}
SCSS
$custom: #7ba225;
$custom-light: #a5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba225",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 78.72,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.15351,
    "h": 125.9
  },
  "luminance": 0.30185
}

Semantic roles & 50–950 ramp

primary
#7BA225
secondary
#7F61C2
accent
#42E675
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA225

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

Preview Lab → · Contrast checker → · Palette generator →

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