#7BA528#7BA528

#7BA528 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.156 H 126.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7BA528
RGBrgb(123, 165, 40)
HSLhsl(80, 61%, 40%)
HSVhsv(80, 76%, 65%)
CMYKcmyk(25.5%, 0%, 75.8%, 35.3%)
CIE-LABlab(62.74, -32.36, 56.08)
CIE-LCHlch(62.74, 64.75, 119.99°)
OKLaboklab(66.78% -0.0932 0.1245)
OKLCHoklch(66.78% 0.156 126.8)
XYZxyz(22.0066, 31.2740, 6.8841)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA528 #5228A5
analogous
#A59028 #7BA528 #3CA528
triadic
#7BA528 #287BA5 #A5287B
tetradic
#7BA528 #28A590 #5228A5 #A5283C
square
#7BA528 #28A590 #5228A5 #A5283C
split-complementary
#7BA528 #283CA5 #9028A5
monochromatic
#324210 #56741C #7BA528 #9DCF3B #B6DB6C

Accessibility & contrast

On white

2.89
#7BA528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7BA528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA528
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA528#FFFFFF#000000##000000
##7BA5281.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#809D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba528;
/* rgb */ color: rgb(123, 165, 40);
/* oklch */ color: oklch(66.8% 0.156 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5c06c',
    500: '#7ba528',
    950: '#000000',
  },
}
SCSS
$custom: #7ba528;
$custom-light: #a5c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba528",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 80.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.15557,
    "h": 126.8
  },
  "luminance": 0.31274
}

Semantic roles & 50–950 ramp

primary
#7BA528
secondary
#8567C2
accent
#44E47A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA528

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

Preview Lab → · Contrast checker → · Palette generator →

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