#7B9E2A#7B9E2A

#7B9E2A is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.1% C 0.146 H 125.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7B9E2A
RGBrgb(123, 158, 42)
HSLhsl(78, 58%, 39%)
HSVhsv(78, 73%, 62%)
CMYKcmyk(22.2%, 0%, 73.4%, 38%)
CIE-LABlab(60.63, -28.94, 53.33)
CIE-LCHlch(60.63, 60.68, 118.49°)
OKLaboklab(65.08% -0.0837 0.1191)
OKLCHoklch(65.08% 0.146 125.1)
XYZxyz(20.8133, 28.8316, 6.6586)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E2A #4D2A9E
analogous
#9E872A #7B9E2A #419E2A
triadic
#7B9E2A #2A7B9E #9E2A7B
tetradic
#7B9E2A #2A9E87 #4D2A9E #9E2A41
square
#7B9E2A #2A9E87 #4D2A9E #9E2A41
split-complementary
#7B9E2A #2A419E #872A9E
monochromatic
#303D10 #556E1D #7B9E2A #9FCB3A #B7D86B

Accessibility & contrast

On white

3.10
#7B9E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7B9E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9E2A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9E2A#FFFFFF#000000##000000
##7B9E2A1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79314
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#819688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e2a;
/* rgb */ color: rgb(123, 158, 42);
/* oklch */ color: oklch(65.1% 0.146 125.1);
Tailwind
colors: {
  custom: {
    50: '#a5ba6c',
    500: '#7b9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e2a;
$custom-light: #a5ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e2a",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 78.103,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.14558,
    "h": 125.1
  },
  "luminance": 0.28832
}

Semantic roles & 50–950 ramp

primary
#7B9E2A
secondary
#8066BE
accent
#47E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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