#7BA227#7BA227

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

Color values

HEX#7BA227
RGBrgb(123, 162, 39)
HSLhsl(79, 61%, 39%)
HSVhsv(79, 76%, 64%)
CMYKcmyk(24.1%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.82, -31.01, 55.55)
CIE-LCHlch(61.82, 63.62, 119.17°)
OKLaboklab(66.04% -0.0896 0.1233)
OKLCHoklch(66.04% 0.152 126)
XYZxyz(21.4550, 30.1978, 6.6175)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA227 #4E27A2
analogous
#A28C27 #7BA227 #3EA227
triadic
#7BA227 #277BA2 #A2277B
tetradic
#7BA227 #27A28C #4E27A2 #A2273E
square
#7BA227 #27A28C #4E27A2 #A2273E
split-complementary
#7BA227 #273EA2 #8C27A2
monochromatic
#303F0F #56711B #7BA227 #9FCF37 #B7DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA227#FFFFFF#000000##000000
##7BA2271.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)
#AB970B
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba227;
/* rgb */ color: rgb(123, 162, 39);
/* oklch */ color: oklch(66.0% 0.152 126.0);
Tailwind
colors: {
  custom: {
    50: '#a5bd6b',
    500: '#7ba227',
    950: '#000000',
  },
}
SCSS
$custom: #7ba227;
$custom-light: #a5bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba227",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 79.024,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66039,
    "c": 0.1524,
    "h": 126
  },
  "luminance": 0.30198
}

Semantic roles & 50–950 ramp

primary
#7BA227
secondary
#8164C1
accent
#43E476
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA227

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

Preview Lab → · Contrast checker → · Palette generator →

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