#7BA01F#7BA01F

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

Color values

HEX#7BA01F
RGBrgb(123, 160, 31)
HSLhsl(77, 68%, 37%)
HSVhsv(77, 81%, 63%)
CMYKcmyk(23.1%, 0%, 80.6%, 37.3%)
CIE-LABlab(61.18, -30.46, 57.49)
CIE-LCHlch(61.18, 65.06, 117.91°)
OKLaboklab(65.5% -0.0887 0.126)
OKLCHoklch(65.5% 0.154 125.2)
XYZxyz(20.9867, 29.4512, 5.8750)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA01F #441FA0
analogous
#A0841F #7BA01F #3BA01F
triadic
#7BA01F #1F7BA0 #A01F7B
tetradic
#7BA01F #1FA084 #441FA0 #A01F3B
square
#7BA01F #1FA084 #441FA0 #A01F3B
split-complementary
#7BA01F #1F3BA0 #841FA0
monochromatic
#2C390B #546D15 #7BA01F #A2D329 #B9DF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7ba01f;
/* rgb */ color: rgb(123, 160, 31);
/* oklch */ color: oklch(65.5% 0.154 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5bc67',
    500: '#7ba01f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba01f;
$custom-light: #a5bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba01f",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 77.209,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.15412,
    "h": 125.2
  },
  "luminance": 0.29451
}

Semantic roles & 50–950 ramp

primary
#7BA01F
secondary
#7758C3
accent
#3DEA6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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