#7BA522#7BA522

#7BA522 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.7% C 0.159 H 126.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7BA522
RGBrgb(123, 165, 34)
HSLhsl(79, 66%, 39%)
HSVhsv(79, 79%, 65%)
CMYKcmyk(25.5%, 0%, 79.4%, 35.3%)
CIE-LABlab(62.71, -32.67, 57.99)
CIE-LCHlch(62.71, 66.56, 119.39°)
OKLaboklab(66.75% -0.0945 0.1276)
OKLCHoklch(66.75% 0.159 126.5)
XYZxyz(21.9124, 31.2363, 6.3878)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA522 #4C22A5
analogous
#A58E22 #7BA522 #39A522
triadic
#7BA522 #227BA5 #A5227B
tetradic
#7BA522 #22A58E #4C22A5 #A52239
square
#7BA522 #22A58E #4C22A5 #A52239
split-complementary
#7BA522 #2239A5 #8E22A5
monochromatic
#2F400D #557218 #7BA522 #A0D430 #B7DF63

Accessibility & contrast

On white

2.90
#7BA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA522#FFFFFF#000000##000000
##7BA5221.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba522;
/* rgb */ color: rgb(123, 165, 34);
/* oklch */ color: oklch(66.7% 0.159 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5c069',
    500: '#7ba522',
    950: '#000000',
  },
}
SCSS
$custom: #7ba522;
$custom-light: #a5c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba522",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 79.237,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66746,
    "c": 0.15877,
    "h": 126.5
  },
  "luminance": 0.31237
}

Semantic roles & 50–950 ramp

primary
#7BA522
secondary
#7F5FC4
accent
#3FE975
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA522

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

Preview Lab → · Contrast checker → · Palette generator →

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