#7B9E1A#7B9E1A

#7B9E1A is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.154 H 124.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7B9E1A
RGBrgb(123, 158, 26)
HSLhsl(76, 72%, 36%)
HSVhsv(76, 84%, 62%)
CMYKcmyk(22.2%, 0%, 83.5%, 38%)
CIE-LABlab(60.55, -29.71, 58.32)
CIE-LCHlch(60.55, 65.45, 116.99°)
OKLaboklab(64.99% -0.087 0.127)
OKLCHoklch(64.99% 0.154 124.4)
XYZxyz(20.5819, 28.7390, 5.4399)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E1A #3D1A9E
analogous
#9E7F1A #7B9E1A #399E1A
triadic
#7B9E1A #1A7B9E #9E1A7B
tetradic
#7B9E1A #1A9E7F #3D1A9E #9E1A39
square
#7B9E1A #1A9E7F #3D1A9E #9E1A39
split-complementary
#7B9E1A #1A399E #7F1A9E
monochromatic
#293509 #526911 #7B9E1A #A4D323 #BCE250

Accessibility & contrast

On white

3.11
#7B9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7B9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9E1A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9E1A#FFFFFF#000000##000000
##7B9E1A1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#819687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e1a;
/* rgb */ color: rgb(123, 158, 26);
/* oklch */ color: oklch(65.0% 0.154 124.4);
Tailwind
colors: {
  custom: {
    50: '#a5ba65',
    500: '#7b9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e1a;
$custom-light: #a5ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e1a",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 75.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.15393,
    "h": 124.4
  },
  "luminance": 0.28739
}

Semantic roles & 50–950 ramp

primary
#7B9E1A
secondary
#6E4FC5
accent
#39EE69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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