#7BAB2B#7BAB2B

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

Color values

HEX#7BAB2B
RGBrgb(123, 171, 43)
HSLhsl(83, 60%, 42%)
HSVhsv(83, 75%, 67%)
CMYKcmyk(28.1%, 0%, 74.9%, 32.9%)
CIE-LABlab(64.57, -34.96, 56.81)
CIE-LCHlch(64.57, 66.71, 121.61°)
OKLaboklab(68.28% -0.1001 0.1266)
OKLCHoklch(68.28% 0.161 128.3)
XYZxyz(23.1673, 33.5106, 7.5326)
Luminance0.3351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB2B #5B2BAB
analogous
#AB9B2B #7BAB2B #3BAB2B
triadic
#7BAB2B #2B7BAB #AB2B7B
tetradic
#7BAB2B #2BAB9B #5B2BAB #AB2B3B
square
#7BAB2B #2BAB9B #5B2BAB #AB2B3B
split-complementary
#7BAB2B #2B3BAB #9B2BAB
monochromatic
#354912 #587A1F #7BAB2B #9BD043 #B5DC74

Accessibility & contrast

On white

2.73
#7BAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7BAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB2B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB2B#FFFFFF#000000##000000
##7BAB2B1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7bab2b;
/* rgb */ color: rgb(123, 171, 43);
/* oklch */ color: oklch(68.3% 0.161 128.3);
Tailwind
colors: {
  custom: {
    50: '#a5c46e',
    500: '#7bab2b',
    950: '#000000',
  },
}
SCSS
$custom: #7bab2b;
$custom-light: #a5c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab2b",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 82.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.16135,
    "h": 128.3
  },
  "luminance": 0.33511
}

Semantic roles & 50–950 ramp

primary
#7BAB2B
secondary
#8E6EC4
accent
#45E380
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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