#7BAB2C#7BAB2C

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

Color values

HEX#7BAB2C
RGBrgb(123, 171, 44)
HSLhsl(83, 59%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(28.1%, 0%, 74.3%, 32.9%)
CIE-LABlab(64.58, -34.91, 56.47)
CIE-LCHlch(64.58, 66.39, 121.72°)
OKLaboklab(68.28% -0.0999 0.126)
OKLCHoklch(68.28% 0.161 128.4)
XYZxyz(23.1859, 33.5181, 7.6304)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB2C #5C2CAB
analogous
#AB9C2C #7BAB2C #3CAB2C
triadic
#7BAB2C #2C7BAB #AB2C7B
tetradic
#7BAB2C #2CAB9C #5C2CAB #AB2C3C
square
#7BAB2C #2CAB9C #5C2CAB #AB2C3C
split-complementary
#7BAB2C #2C3CAB #9C2CAB
monochromatic
#354A13 #587A1F #7BAB2C #9BCF45 #B5DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAB2C#FFFFFF#000000##000000
##7BAB2C1.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)
#B49F12
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#7FA393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab2c;
/* rgb */ color: rgb(123, 171, 44);
/* oklch */ color: oklch(68.3% 0.161 128.4);
Tailwind
colors: {
  custom: {
    50: '#a5c46e',
    500: '#7bab2c',
    950: '#000000',
  },
}
SCSS
$custom: #7bab2c;
$custom-light: #a5c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab2c",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 82.677,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68283,
    "c": 0.16077,
    "h": 128.4
  },
  "luminance": 0.33519
}

Semantic roles & 50–950 ramp

primary
#7BAB2C
secondary
#8F6FC3
accent
#46E281
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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