#7BAC31#7BAC31

#7BAC31 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.6% C 0.159 H 128.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7BAC31
RGBrgb(123, 172, 49)
HSLhsl(84, 56%, 43%)
HSVhsv(84, 72%, 67%)
CMYKcmyk(28.5%, 0%, 71.5%, 32.5%)
CIE-LABlab(64.91, -35.05, 54.98)
CIE-LCHlch(64.91, 65.20, 122.52°)
OKLaboklab(68.57% -0.0999 0.1236)
OKLCHoklch(68.57% 0.159 128.9)
XYZxyz(23.4752, 33.9371, 8.2188)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAC31 #6231AC
analogous
#AC9F31 #7BAC31 #3EAC31
triadic
#7BAC31 #317BAC #AC317B
tetradic
#7BAC31 #31AC9F #6231AC #AC313E
square
#7BAC31 #31AC9F #6231AC #AC313E
split-complementary
#7BAC31 #313EAC #9F31AC
monochromatic
#374D16 #597C23 #7BAC31 #9ACC4E #B5DA7D

Accessibility & contrast

On white

2.70
#7BAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#7BAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAC31
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAC31#FFFFFF#000000##000000
##7BAC311.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01C
Deuteranopia (green-blind)
#AE9C3C
Tritanopia (blue-blind)
#7FA494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bac31;
/* rgb */ color: rgb(123, 172, 49);
/* oklch */ color: oklch(68.6% 0.159 128.9);
Tailwind
colors: {
  custom: {
    50: '#a5c571',
    500: '#7bac31',
    950: '#000000',
  },
}
SCSS
$custom: #7bac31;
$custom-light: #a5c571;
$custom-dark: #000000;
JSON
{
  "hex": "#7bac31",
  "rgb": {
    "r": 123,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 83.902,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68565,
    "c": 0.15892,
    "h": 128.9
  },
  "luminance": 0.33938
}

Semantic roles & 50–950 ramp

primary
#7BAC31
secondary
#9576C3
accent
#49DF85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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