#7BA428#7BA428

#7BA428 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.5% C 0.154 H 126.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7BA428
RGBrgb(123, 164, 40)
HSLhsl(80, 61%, 40%)
HSVhsv(80, 76%, 64%)
CMYKcmyk(25%, 0%, 75.6%, 35.7%)
CIE-LABlab(62.44, -31.90, 55.79)
CIE-LCHlch(62.44, 64.26, 119.76°)
OKLaboklab(66.54% -0.092 0.1239)
OKLCHoklch(66.54% 0.154 126.6)
XYZxyz(21.8269, 30.9147, 6.8243)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA428 #5128A4
analogous
#A48F28 #7BA428 #3DA428
triadic
#7BA428 #287BA4 #A4287B
tetradic
#7BA428 #28A48F #5128A4 #A4283D
square
#7BA428 #28A48F #5128A4 #A4283D
split-complementary
#7BA428 #283DA4 #8F28A4
monochromatic
#314210 #56731C #7BA428 #9ECF3A #B6DB6B

Accessibility & contrast

On white

2.92
#7BA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7BA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA428
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA428#FFFFFF#000000##000000
##7BA4281.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990C
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#809C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba428;
/* rgb */ color: rgb(123, 164, 40);
/* oklch */ color: oklch(66.5% 0.154 126.6);
Tailwind
colors: {
  custom: {
    50: '#a5bf6b',
    500: '#7ba428',
    950: '#000000',
  },
}
SCSS
$custom: #7ba428;
$custom-light: #a5bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba428",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 79.839,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.66536,
    "c": 0.15433,
    "h": 126.6
  },
  "luminance": 0.30915
}

Semantic roles & 50–950 ramp

primary
#7BA428
secondary
#8466C1
accent
#44E479
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA428

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

Preview Lab → · Contrast checker → · Palette generator →

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