#7BAB28#7BAB28

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

Color values

HEX#7BAB28
RGBrgb(123, 171, 40)
HSLhsl(82, 62%, 41%)
HSVhsv(82, 77%, 67%)
CMYKcmyk(28.1%, 0%, 76.6%, 32.9%)
CIE-LABlab(64.56, -35.13, 57.81)
CIE-LCHlch(64.56, 67.65, 121.28°)
OKLaboklab(68.26% -0.1008 0.1282)
OKLCHoklch(68.26% 0.163 128.2)
XYZxyz(23.1143, 33.4894, 7.2534)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB28 #5828AB
analogous
#AB9A28 #7BAB28 #3AAB28
triadic
#7BAB28 #287BAB #AB287B
tetradic
#7BAB28 #28AB9A #5828AB #AB283A
square
#7BAB28 #28AB9A #5828AB #AB283A
split-complementary
#7BAB28 #283AAB #9A28AB
monochromatic
#344811 #57791C #7BAB28 #9CD23E #B5DE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAB28#FFFFFF#000000##000000
##7BAB281.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)
#B49F06
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#7FA392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab28;
/* rgb */ color: rgb(123, 171, 40);
/* oklch */ color: oklch(68.3% 0.163 128.2);
Tailwind
colors: {
  custom: {
    50: '#a5c46c',
    500: '#7bab28',
    950: '#000000',
  },
}
SCSS
$custom: #7bab28;
$custom-light: #a5c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab28",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 81.985,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68257,
    "c": 0.16305,
    "h": 128.2
  },
  "luminance": 0.3349
}

Semantic roles & 50–950 ramp

primary
#7BAB28
secondary
#8B6AC4
accent
#43E57E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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