#7BA328#7BA328

#7BA328 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.3% C 0.153 H 126.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7BA328
RGBrgb(123, 163, 40)
HSLhsl(80, 61%, 40%)
HSVhsv(80, 75%, 64%)
CMYKcmyk(24.5%, 0%, 75.5%, 36.1%)
CIE-LABlab(62.13, -31.43, 55.50)
CIE-LCHlch(62.13, 63.78, 119.52°)
OKLaboklab(66.29% -0.0907 0.1233)
OKLCHoklch(66.29% 0.153 126.3)
XYZxyz(21.6487, 30.5582, 6.7648)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA328 #5028A3
analogous
#A38D28 #7BA328 #3EA328
triadic
#7BA328 #287BA3 #A3287B
tetradic
#7BA328 #28A38D #5028A3 #A3283E
square
#7BA328 #28A38D #5028A3 #A3283E
split-complementary
#7BA328 #283EA3 #8D28A3
monochromatic
#314110 #56721C #7BA328 #9ECF3A #B6DB6B

Accessibility & contrast

On white

2.95
#7BA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7BA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA328
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA328#FFFFFF#000000##000000
##7BA3281.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980D
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#809B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba328;
/* rgb */ color: rgb(123, 163, 40);
/* oklch */ color: oklch(66.3% 0.153 126.3);
Tailwind
colors: {
  custom: {
    50: '#a5be6b',
    500: '#7ba328',
    950: '#000000',
  },
}
SCSS
$custom: #7ba328;
$custom-light: #a5be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba328",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 79.512,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.15307,
    "h": 126.3
  },
  "luminance": 0.30559
}

Semantic roles & 50–950 ramp

primary
#7BA328
secondary
#8366C1
accent
#44E478
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA328

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

Preview Lab → · Contrast checker → · Palette generator →

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