#7BA42E#7BA42E

#7BA42E is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.151 H 126.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7BA42E
RGBrgb(123, 164, 46)
HSLhsl(81, 56%, 41%)
HSVhsv(81, 72%, 64%)
CMYKcmyk(25%, 0%, 72%, 35.7%)
CIE-LABlab(62.47, -31.54, 53.66)
CIE-LCHlch(62.47, 62.25, 120.45°)
OKLaboklab(66.58% -0.0905 0.1204)
OKLCHoklch(66.58% 0.151 126.9)
XYZxyz(21.9370, 30.9587, 7.4041)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA42E #572EA4
analogous
#A4922E #7BA42E #40A42E
triadic
#7BA42E #2E7BA4 #A42E7B
tetradic
#7BA42E #2EA492 #572EA4 #A42E40
square
#7BA42E #2EA492 #572EA4 #A42E40
split-complementary
#7BA42E #2E40A4 #922EA4
monochromatic
#334413 #577421 #7BA42E #9CCB45 #B5D874

Accessibility & contrast

On white

2.92
#7BA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7BA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA42E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA42E#FFFFFF#000000##000000
##7BA42E1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#809C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba42e;
/* rgb */ color: rgb(123, 164, 46);
/* oklch */ color: oklch(66.6% 0.151 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5bf6e',
    500: '#7ba42e',
    950: '#000000',
  },
}
SCSS
$custom: #7ba42e;
$custom-light: #a5bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba42e",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 80.847,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.15065,
    "h": 126.9
  },
  "luminance": 0.30959
}

Semantic roles & 50–950 ramp

primary
#7BA42E
secondary
#8A6EC0
accent
#48DF7D
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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