#7B9737#7B9737

#7B9737 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.5% C 0.127 H 123.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7B9737
RGBrgb(123, 151, 55)
HSLhsl(78, 47%, 40%)
HSVhsv(78, 64%, 59%)
CMYKcmyk(18.5%, 0%, 63.6%, 40.8%)
CIE-LABlab(58.62, -24.62, 45.94)
CIE-LCHlch(58.62, 52.12, 118.19°)
OKLaboklab(63.48% -0.0706 0.1055)
OKLCHoklch(63.48% 0.127 123.8)
XYZxyz(19.9247, 26.6199, 7.7021)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9737 #533797
analogous
#978337 #7B9737 #4B9737
triadic
#7B9737 #377B97 #97377B
tetradic
#7B9737 #379783 #533797 #97374B
square
#7B9737 #379783 #533797 #97374B
split-complementary
#7B9737 #374B97 #833797
monochromatic
#323D16 #566A27 #7B9737 #9DBE4D #B6CF7A

Accessibility & contrast

On white

3.32
#7B9737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7B9737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9737
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9737#FFFFFF#000000##000000
##7B97371.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2B
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#819083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9737;
/* rgb */ color: rgb(123, 151, 55);
/* oklch */ color: oklch(63.5% 0.127 123.8);
Tailwind
colors: {
  custom: {
    50: '#a4b572',
    500: '#7b9737',
    950: '#000000',
  },
}
SCSS
$custom: #7b9737;
$custom-light: #a4b572;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9737",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 55
  },
  "hsl": {
    "h": 77.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63484,
    "c": 0.12694,
    "h": 123.8
  },
  "luminance": 0.2662
}

Semantic roles & 50–950 ramp

primary
#7B9737
secondary
#8672B8
accent
#52D678
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9737

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

Preview Lab → · Contrast checker → · Palette generator →

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