#7BA421#7BA421

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

Color values

HEX#7BA421
RGBrgb(123, 164, 33)
HSLhsl(79, 66%, 39%)
HSVhsv(79, 80%, 64%)
CMYKcmyk(25%, 0%, 79.9%, 35.7%)
CIE-LABlab(62.40, -32.25, 58.01)
CIE-LCHlch(62.40, 66.37, 119.07°)
OKLaboklab(66.5% -0.0935 0.1274)
OKLCHoklch(66.5% 0.158 126.3)
XYZxyz(21.7185, 30.8713, 6.2531)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA421 #4A21A4
analogous
#A48B21 #7BA421 #39A421
triadic
#7BA421 #217BA4 #A4217B
tetradic
#7BA421 #21A48B #4A21A4 #A42139
square
#7BA421 #21A48B #4A21A4 #A42139
split-complementary
#7BA421 #2139A4 #8B21A4
monochromatic
#2F3E0C #557117 #7BA421 #A0D52D #B7DF60

Accessibility & contrast

On white

2.93
#7BA421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7BA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA421
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA421#FFFFFF#000000##000000
##7BA4211.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba421;
/* rgb */ color: rgb(123, 164, 33);
/* oklch */ color: oklch(66.5% 0.158 126.3);
Tailwind
colors: {
  custom: {
    50: '#a5bf68',
    500: '#7ba421',
    950: '#000000',
  },
}
SCSS
$custom: #7ba421;
$custom-light: #a5bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba421",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 78.779,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66495,
    "c": 0.15804,
    "h": 126.3
  },
  "luminance": 0.30872
}

Semantic roles & 50–950 ramp

primary
#7BA421
secondary
#7D5DC4
accent
#3EE974
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA421

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

Preview Lab → · Contrast checker → · Palette generator →

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