#7B911A#7B911A

#7B911A is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.8% C 0.138 H 120.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7B911A
RGBrgb(123, 145, 26)
HSLhsl(71, 70%, 34%)
HSVhsv(71, 82%, 57%)
CMYKcmyk(15.2%, 0%, 82.1%, 43.1%)
CIE-LABlab(56.62, -23.36, 54.85)
CIE-LCHlch(56.62, 59.62, 113.06°)
OKLaboklab(61.81% -0.0697 0.1196)
OKLCHoklch(61.81% 0.138 120.2)
XYZxyz(18.4806, 24.5364, 4.7395)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B911A #301A91
analogous
#916B1A #7B911A #3F911A
triadic
#7B911A #1A7B91 #911A7B
tetradic
#7B911A #1A916B #301A91 #911A3F
square
#7B911A #1A916B #301A91 #911A3F
split-complementary
#7B911A #1A3F91 #6B1A91
monochromatic
#232907 #4F5D11 #7B911A #A7C523 #C2DE47

Accessibility & contrast

On white

3.55
#7B911A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7B911A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B911A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B911A#FFFFFF#000000##000000
##7B911A1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#83897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b911a;
/* rgb */ color: rgb(123, 145, 26);
/* oklch */ color: oklch(61.8% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#a5b163',
    500: '#7b911a',
    950: '#000000',
  },
}
SCSS
$custom: #7b911a;
$custom-light: #a5b163;
$custom-dark: #000000;
JSON
{
  "hex": "#7b911a",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 26
  },
  "hsl": {
    "h": 71.092,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.13841,
    "h": 120.2
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#7B911A
secondary
#5D47C0
accent
#3BEC5C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B911A

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

Preview Lab → · Contrast checker → · Palette generator →

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