#7BA018#7BA018

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

Color values

HEX#7BA018
RGBrgb(123, 160, 24)
HSLhsl(76, 74%, 36%)
HSVhsv(76, 85%, 63%)
CMYKcmyk(23.1%, 0%, 85%, 37.3%)
CIE-LABlab(61.15, -30.73, 59.35)
CIE-LCHlch(61.15, 66.83, 117.37°)
OKLaboklab(65.47% -0.0899 0.1288)
OKLCHoklch(65.47% 0.157 124.9)
XYZxyz(20.9043, 29.4183, 5.4409)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA018 #3D18A0
analogous
#A08118 #7BA018 #37A018
triadic
#7BA018 #187BA0 #A0187B
tetradic
#7BA018 #18A081 #3D18A0 #A01837
square
#7BA018 #18A081 #3D18A0 #A01837
split-complementary
#7BA018 #1837A0 #8118A0
monochromatic
#293608 #526B10 #7BA018 #A4D520 #BCE44E

Accessibility & contrast

On white

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

On black

6.88
#7BA018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA018
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA018#FFFFFF#000000##000000
##7BA0181.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba018;
/* rgb */ color: rgb(123, 160, 24);
/* oklch */ color: oklch(65.5% 0.157 124.9);
Tailwind
colors: {
  custom: {
    50: '#a5bc64',
    500: '#7ba018',
    950: '#000000',
  },
}
SCSS
$custom: #7ba018;
$custom-light: #a5bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba018",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 76.324,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65469,
    "c": 0.15712,
    "h": 124.9
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#7BA018
secondary
#6E4DC6
accent
#37F16A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA018

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

Preview Lab → · Contrast checker → · Palette generator →

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