#7BAB2E#7BAB2E

#7BAB2E is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.160 H 128.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7BAB2E
RGBrgb(123, 171, 46)
HSLhsl(83, 58%, 43%)
HSVhsv(83, 73%, 67%)
CMYKcmyk(28.1%, 0%, 73.1%, 32.9%)
CIE-LABlab(64.59, -34.79, 55.77)
CIE-LCHlch(64.59, 65.73, 121.95°)
OKLaboklab(68.3% -0.0994 0.1248)
OKLCHoklch(68.3% 0.16 128.5)
XYZxyz(23.2244, 33.5335, 7.8332)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB2E #5E2EAB
analogous
#AB9D2E #7BAB2E #3CAB2E
triadic
#7BAB2E #2E7BAB #AB2E7B
tetradic
#7BAB2E #2EAB9D #5E2EAB #AB2E3C
square
#7BAB2E #2EAB9D #5E2EAB #AB2E3C
split-complementary
#7BAB2E #2E3CAB #9D2EAB
monochromatic
#364B14 #587B21 #7BAB2E #9BCE48 #B5DB79

Accessibility & contrast

On white

2.72
#7BAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7BAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB2E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB2E#FFFFFF#000000##000000
##7BAB2E1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F17
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#7FA393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab2e;
/* rgb */ color: rgb(123, 171, 46);
/* oklch */ color: oklch(68.3% 0.160 128.5);
Tailwind
colors: {
  custom: {
    50: '#a5c46f',
    500: '#7bab2e',
    950: '#000000',
  },
}
SCSS
$custom: #7bab2e;
$custom-light: #a5c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab2e",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 83.04,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.15956,
    "h": 128.5
  },
  "luminance": 0.33534
}

Semantic roles & 50–950 ramp

primary
#7BAB2E
secondary
#9172C3
accent
#47E182
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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