#7BA028#7BA028

#7BA028 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.6% C 0.149 H 125.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7BA028
RGBrgb(123, 160, 40)
HSLhsl(79, 60%, 39%)
HSVhsv(79, 75%, 63%)
CMYKcmyk(23.1%, 0%, 75%, 37.3%)
CIE-LABlab(61.23, -30.01, 54.62)
CIE-LCHlch(61.23, 62.33, 118.78°)
OKLaboklab(65.55% -0.0868 0.1215)
OKLCHoklch(65.55% 0.149 125.6)
XYZxyz(21.1223, 29.5055, 6.5894)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA028 #4D28A0
analogous
#A08928 #7BA028 #3FA028
triadic
#7BA028 #287BA0 #A0287B
tetradic
#7BA028 #28A089 #4D28A0 #A0283F
square
#7BA028 #28A089 #4D28A0 #A0283F
split-complementary
#7BA028 #283FA0 #8928A0
monochromatic
#303E10 #556F1C #7BA028 #9FCD38 #B7D969

Accessibility & contrast

On white

3.04
#7BA028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#7BA028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA028
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA028#FFFFFF#000000##000000
##7BA0281.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950F
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#819889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba028;
/* rgb */ color: rgb(123, 160, 40);
/* oklch */ color: oklch(65.6% 0.149 125.6);
Tailwind
colors: {
  custom: {
    50: '#a5bc6b',
    500: '#7ba028',
    950: '#000000',
  },
}
SCSS
$custom: #7ba028;
$custom-light: #a5bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba028",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 78.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65555,
    "c": 0.14931,
    "h": 125.6
  },
  "luminance": 0.29506
}

Semantic roles & 50–950 ramp

primary
#7BA028
secondary
#8064C0
accent
#45E376
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA028

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

Preview Lab → · Contrast checker → · Palette generator →

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