#7BA01C#7BA01C

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

Color values

HEX#7BA01C
RGBrgb(123, 160, 28)
HSLhsl(77, 70%, 37%)
HSVhsv(77, 83%, 63%)
CMYKcmyk(23.1%, 0%, 82.5%, 37.3%)
CIE-LABlab(61.16, -30.58, 58.33)
CIE-LCHlch(61.16, 65.86, 117.67°)
OKLaboklab(65.49% -0.0893 0.1273)
OKLCHoklch(65.49% 0.155 125)
XYZxyz(20.9490, 29.4361, 5.6764)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA01C #411CA0
analogous
#A0831C #7BA01C #39A01C
triadic
#7BA01C #1C7BA0 #A01C7B
tetradic
#7BA01C #1CA083 #411CA0 #A01C39
square
#7BA01C #1CA083 #411CA0 #A01C39
split-complementary
#7BA01C #1C39A0 #831CA0
monochromatic
#2B380A #536C13 #7BA01C #A3D425 #BAE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA01C#FFFFFF#000000##000000
##7BA01C1.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)
#A4932B
Tritanopia (blue-blind)
#819888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba01c;
/* rgb */ color: rgb(123, 160, 28);
/* oklch */ color: oklch(65.5% 0.155 125.0);
Tailwind
colors: {
  custom: {
    50: '#a5bc66',
    500: '#7ba01c',
    950: '#000000',
  },
}
SCSS
$custom: #7ba01c;
$custom-light: #a5bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba01c",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 76.818,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65486,
    "c": 0.15548,
    "h": 125
  },
  "luminance": 0.29436
}

Semantic roles & 50–950 ramp

primary
#7BA01C
secondary
#7353C4
accent
#3BED6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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