#7BA11D#7BA11D

#7BA11D is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.7% C 0.156 H 125.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7BA11D
RGBrgb(123, 161, 29)
HSLhsl(77, 69%, 37%)
HSVhsv(77, 82%, 63%)
CMYKcmyk(23.6%, 0%, 82%, 36.9%)
CIE-LABlab(61.47, -31.01, 58.33)
CIE-LCHlch(61.47, 66.06, 118.00°)
OKLaboklab(65.74% -0.0904 0.1275)
OKLCHoklch(65.74% 0.156 125.3)
XYZxyz(21.1352, 29.7891, 5.7985)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA11D #431DA1
analogous
#A1851D #7BA11D #39A11D
triadic
#7BA11D #1D7BA1 #A11D7B
tetradic
#7BA11D #1DA185 #431DA1 #A11D39
square
#7BA11D #1DA185 #431DA1 #A11D39
split-complementary
#7BA11D #1D39A1 #851DA1
monochromatic
#2C390A #536D14 #7BA11D #A3D526 #B9E158

Accessibility & contrast

On white

3.02
#7BA11D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7BA11D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA11D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA11D#FFFFFF#000000##000000
##7BA11D1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#819989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba11d;
/* rgb */ color: rgb(123, 161, 29);
/* oklch */ color: oklch(65.7% 0.156 125.3);
Tailwind
colors: {
  custom: {
    50: '#a5bd66',
    500: '#7ba11d',
    950: '#000000',
  },
}
SCSS
$custom: #7ba11d;
$custom-light: #a5bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba11d",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 29
  },
  "hsl": {
    "h": 77.273,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.15625,
    "h": 125.3
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#7BA11D
secondary
#7555C4
accent
#3CEC6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA11D

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

Preview Lab → · Contrast checker → · Palette generator →

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