#7B9D2A#7B9D2A

#7B9D2A is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.8% C 0.144 H 124.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7B9D2A
RGBrgb(123, 157, 42)
HSLhsl(78, 58%, 39%)
HSVhsv(78, 73%, 62%)
CMYKcmyk(21.7%, 0%, 73.2%, 38.4%)
CIE-LABlab(60.33, -28.46, 53.03)
CIE-LCHlch(60.33, 60.19, 118.22°)
OKLaboklab(64.83% -0.0824 0.1185)
OKLCHoklch(64.83% 0.144 124.8)
XYZxyz(20.6434, 28.4918, 6.6019)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D2A #4C2A9D
analogous
#9D862A #7B9D2A #429D2A
triadic
#7B9D2A #2A7B9D #9D2A7B
tetradic
#7B9D2A #2A9D86 #4C2A9D #9D2A42
square
#7B9D2A #2A9D86 #4C2A9D #9D2A42
split-complementary
#7B9D2A #2A429D #862A9D
monochromatic
#2F3C10 #556D1D #7B9D2A #A0CA3A #B7D76A

Accessibility & contrast

On white

3.14
#7B9D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7B9D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9D2A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9D2A#FFFFFF#000000##000000
##7B9D2A1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#819587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d2a;
/* rgb */ color: rgb(123, 157, 42);
/* oklch */ color: oklch(64.8% 0.144 124.8);
Tailwind
colors: {
  custom: {
    50: '#a4ba6c',
    500: '#7b9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d2a;
$custom-light: #a4ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d2a",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 77.739,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64834,
    "c": 0.14431,
    "h": 124.8
  },
  "luminance": 0.28492
}

Semantic roles & 50–950 ramp

primary
#7B9D2A
secondary
#7F65BE
accent
#47E174
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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