#7BA621#7BA621

#7BA621 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.160 H 126.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7BA621
RGBrgb(123, 166, 33)
HSLhsl(79, 67%, 39%)
HSVhsv(79, 80%, 65%)
CMYKcmyk(25.9%, 0%, 80.1%, 34.9%)
CIE-LABlab(63.00, -33.18, 58.56)
CIE-LCHlch(63.00, 67.31, 119.53°)
OKLaboklab(66.99% -0.096 0.1286)
OKLCHoklch(66.99% 0.16 126.7)
XYZxyz(22.0792, 31.5928, 6.3733)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA621 #4C21A6
analogous
#A68F21 #7BA621 #39A621
triadic
#7BA621 #217BA6 #A6217B
tetradic
#7BA621 #21A68F #4C21A6 #A62139
square
#7BA621 #21A68F #4C21A6 #A62139
split-complementary
#7BA621 #2139A6 #8F21A6
monochromatic
#2F400D #557317 #7BA621 #A0D62F #B7E062

Accessibility & contrast

On white

2.87
#7BA621 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7BA621 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA621
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA621#FFFFFF#000000##000000
##7BA6211.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A9982F
Tritanopia (blue-blind)
#809E8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba621;
/* rgb */ color: rgb(123, 166, 33);
/* oklch */ color: oklch(67.0% 0.160 126.7);
Tailwind
colors: {
  custom: {
    50: '#a5c069',
    500: '#7ba621',
    950: '#000000',
  },
}
SCSS
$custom: #7ba621;
$custom-light: #a5c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba621",
  "rgb": {
    "r": 123,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 79.398,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.16048,
    "h": 126.7
  },
  "luminance": 0.31593
}

Semantic roles & 50–950 ramp

primary
#7BA621
secondary
#7F5EC5
accent
#3EEA76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA621

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

Preview Lab → · Contrast checker → · Palette generator →

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