#7B9B1A#7B9B1A

#7B9B1A is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.150 H 123.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7B9B1A
RGBrgb(123, 155, 26)
HSLhsl(75, 71%, 35%)
HSVhsv(75, 83%, 61%)
CMYKcmyk(20.6%, 0%, 83.2%, 39.2%)
CIE-LABlab(59.64, -28.27, 57.52)
CIE-LCHlch(59.64, 64.10, 116.17°)
OKLaboklab(64.25% -0.0831 0.1253)
OKLCHoklch(64.25% 0.15 123.6)
XYZxyz(20.0764, 27.7281, 5.2714)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9B1A #3A1A9B
analogous
#9B7B1A #7B9B1A #3A9B1A
triadic
#7B9B1A #1A7B9B #9B1A7B
tetradic
#7B9B1A #1A9B7B #3A1A9B #9B1A3A
square
#7B9B1A #1A9B7B #3A1A9B #9B1A3A
split-complementary
#7B9B1A #1A3A9B #7B1A9B
monochromatic
#283208 #516711 #7B9B1A #A5CF23 #BDE14E

Accessibility & contrast

On white

3.21
#7B9B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7B9B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9B1A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9B1A#FFFFFF#000000##000000
##7B9B1A1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#829384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b9b1a;
/* rgb */ color: rgb(123, 155, 26);
/* oklch */ color: oklch(64.3% 0.150 123.6);
Tailwind
colors: {
  custom: {
    50: '#a5b864',
    500: '#7b9b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7b9b1a;
$custom-light: #a5b864;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9b1a",
  "rgb": {
    "r": 123,
    "g": 155,
    "b": 26
  },
  "hsl": {
    "h": 74.884,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64251,
    "c": 0.15034,
    "h": 123.6
  },
  "luminance": 0.27728
}

Semantic roles & 50–950 ramp

primary
#7B9B1A
secondary
#6B4DC4
accent
#3AEE66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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