#7BA12E#7BA12E

#7BA12E is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.8% C 0.147 H 126.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7BA12E
RGBrgb(123, 161, 46)
HSLhsl(80, 56%, 41%)
HSVhsv(80, 71%, 63%)
CMYKcmyk(23.6%, 0%, 71.4%, 36.9%)
CIE-LABlab(61.57, -30.13, 52.76)
CIE-LCHlch(61.57, 60.75, 119.73°)
OKLaboklab(65.84% -0.0866 0.1185)
OKLCHoklch(65.84% 0.147 126.2)
XYZxyz(21.4065, 29.8976, 7.2273)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA12E #542EA1
analogous
#A18D2E #7BA12E #41A12E
triadic
#7BA12E #2E7BA1 #A12E7B
tetradic
#7BA12E #2EA18D #542EA1 #A12E41
square
#7BA12E #2EA18D #542EA1 #A12E41
split-complementary
#7BA12E #2E41A1 #8D2EA1
monochromatic
#324213 #577120 #7BA12E #9DC943 #B6D773

Accessibility & contrast

On white

3.01
#7BA12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7BA12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA12E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA12E#FFFFFF#000000##000000
##7BA12E1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961B
Deuteranopia (green-blind)
#A49438
Tritanopia (blue-blind)
#80998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba12e;
/* rgb */ color: rgb(123, 161, 46);
/* oklch */ color: oklch(65.8% 0.147 126.2);
Tailwind
colors: {
  custom: {
    50: '#a5bd6e',
    500: '#7ba12e',
    950: '#000000',
  },
}
SCSS
$custom: #7ba12e;
$custom-light: #a5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba12e",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 79.826,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65843,
    "c": 0.1468,
    "h": 126.2
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#7BA12E
secondary
#876CBE
accent
#49DF7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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