#7BA015#7BA015

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

Color values

HEX#7BA015
RGBrgb(123, 160, 21)
HSLhsl(76, 77%, 35%)
HSVhsv(76, 87%, 63%)
CMYKcmyk(23.1%, 0%, 86.9%, 37.3%)
CIE-LABlab(61.14, -30.83, 60.04)
CIE-LCHlch(61.14, 67.49, 117.18°)
OKLaboklab(65.46% -0.0903 0.1299)
OKLCHoklch(65.46% 0.158 124.8)
XYZxyz(20.8748, 29.4065, 5.2856)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA015 #3A15A0
analogous
#A07F15 #7BA015 #36A015
triadic
#7BA015 #157BA0 #A0157B
tetradic
#7BA015 #15A07F #3A15A0 #A01536
square
#7BA015 #15A07F #3A15A0 #A01536
split-complementary
#7BA015 #1536A0 #7F15A0
monochromatic
#283407 #516A0E #7BA015 #A5D61C #BDE748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7ba015;
/* rgb */ color: rgb(123, 160, 21);
/* oklch */ color: oklch(65.5% 0.158 124.8);
Tailwind
colors: {
  custom: {
    50: '#a5bc63',
    500: '#7ba015',
    950: '#000000',
  },
}
SCSS
$custom: #7ba015;
$custom-light: #a5bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba015",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 75.971,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.1582,
    "h": 124.8
  },
  "luminance": 0.29407
}

Semantic roles & 50–950 ramp

primary
#7BA015
secondary
#6B49C8
accent
#34F367
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA015

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

Preview Lab → · Contrast checker → · Palette generator →

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