#7B9C2B#7B9C2B

#7B9C2B is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.6% C 0.142 H 124.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7B9C2B
RGBrgb(123, 156, 43)
HSLhsl(78, 57%, 39%)
HSVhsv(78, 72%, 61%)
CMYKcmyk(21.2%, 0%, 72.4%, 38.8%)
CIE-LABlab(60.03, -27.92, 52.37)
CIE-LCHlch(60.03, 59.34, 118.06°)
OKLaboklab(64.6% -0.0808 0.1172)
OKLCHoklch(64.6% 0.142 124.6)
XYZxyz(20.4931, 28.1621, 6.6412)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9C2B #4C2B9C
analogous
#9C852B #7B9C2B #439C2B
triadic
#7B9C2B #2B7B9C #9C2B7B
tetradic
#7B9C2B #2B9C85 #4C2B9C #9C2B43
square
#7B9C2B #2B9C85 #4C2B9C #9C2B43
split-complementary
#7B9C2B #2B439C #852B9C
monochromatic
#2F3C11 #556C1E #7B9C2B #A0C93B #B7D66B

Accessibility & contrast

On white

3.17
#7B9C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7B9C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9C2B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9C2B#FFFFFF#000000##000000
##7B9C2B1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59217
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#819486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9c2b;
/* rgb */ color: rgb(123, 156, 43);
/* oklch */ color: oklch(64.6% 0.142 124.6);
Tailwind
colors: {
  custom: {
    50: '#a4b96c',
    500: '#7b9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b9c2b;
$custom-light: #a4b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9c2b",
  "rgb": {
    "r": 123,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 77.522,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64597,
    "c": 0.14239,
    "h": 124.6
  },
  "luminance": 0.28162
}

Semantic roles & 50–950 ramp

primary
#7B9C2B
secondary
#7F66BD
accent
#48E074
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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