#7BA01B#7BA01B

#7BA01B is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.156 H 125.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7BA01B
RGBrgb(123, 160, 27)
HSLhsl(77, 71%, 37%)
HSVhsv(77, 83%, 63%)
CMYKcmyk(23.1%, 0%, 83.1%, 37.3%)
CIE-LABlab(61.16, -30.62, 58.59)
CIE-LCHlch(61.16, 66.11, 117.59°)
OKLaboklab(65.48% -0.0894 0.1277)
OKLCHoklch(65.48% 0.156 125)
XYZxyz(20.9372, 29.4314, 5.6145)
Luminance0.2943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA01B #401BA0
analogous
#A0831B #7BA01B #38A01B
triadic
#7BA01B #1B7BA0 #A01B7B
tetradic
#7BA01B #1BA083 #401BA0 #A01B38
square
#7BA01B #1BA083 #401BA0 #A01B38
split-complementary
#7BA01B #1B38A0 #831BA0
monochromatic
#2A3709 #536C12 #7BA01B #A3D424 #BAE253

Accessibility & contrast

On white

3.05
#7BA01B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#7BA01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA01B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA01B#FFFFFF#000000##000000
##7BA01B1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#819888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba01b;
/* rgb */ color: rgb(123, 160, 27);
/* oklch */ color: oklch(65.5% 0.156 125.0);
Tailwind
colors: {
  custom: {
    50: '#a5bc65',
    500: '#7ba01b',
    950: '#000000',
  },
}
SCSS
$custom: #7ba01b;
$custom-light: #a5bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba01b",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 76.692,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65482,
    "c": 0.15591,
    "h": 125
  },
  "luminance": 0.29432
}

Semantic roles & 50–950 ramp

primary
#7BA01B
secondary
#7252C5
accent
#3AEE6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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