#7BA017#7BA017

#7BA017 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#7BA017
RGBrgb(123, 160, 23)
HSLhsl(76, 75%, 36%)
HSVhsv(76, 86%, 63%)
CMYKcmyk(23.1%, 0%, 85.6%, 37.3%)
CIE-LABlab(61.15, -30.76, 59.59)
CIE-LCHlch(61.15, 67.06, 117.30°)
OKLaboklab(65.46% -0.0901 0.1292)
OKLCHoklch(65.46% 0.157 124.9)
XYZxyz(20.8941, 29.4142, 5.3872)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA017 #3C17A0
analogous
#A08017 #7BA017 #37A017
triadic
#7BA017 #177BA0 #A0177B
tetradic
#7BA017 #17A080 #3C17A0 #A01737
square
#7BA017 #17A080 #3C17A0 #A01737
split-complementary
#7BA017 #1737A0 #8017A0
monochromatic
#293508 #526A0F #7BA017 #A4D61F #BCE54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA017#FFFFFF#000000##000000
##7BA0171.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: #7ba017;
/* rgb */ color: rgb(123, 160, 23);
/* oklch */ color: oklch(65.5% 0.157 124.9);
Tailwind
colors: {
  custom: {
    50: '#a5bc64',
    500: '#7ba017',
    950: '#000000',
  },
}
SCSS
$custom: #7ba017;
$custom-light: #a5bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba017",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 76.204,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65465,
    "c": 0.15749,
    "h": 124.9
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

primary
#7BA017
secondary
#6D4CC7
accent
#36F169
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA017

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

Preview Lab → · Contrast checker → · Palette generator →

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